1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

allow building of kernel-specific stuff in package/ instead of target/linux/package/ and merge target/linux/package/base-files into package/base-files

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3855 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2006-05-31 12:33:06 +00:00
parent cb3150bc97
commit f21c448c6d
41 changed files with 76 additions and 3380 deletions

View File

@@ -18,8 +18,6 @@ $(DL_DIR)/$(LINUX_SOURCE):
$(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE)
-mkdir -p $(LINUX_BUILD_DIR)
bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(LINUX_BUILD_DIR) $(TAR_OPTIONS) -
rm -f $(BUILD_DIR)/linux
ln -s $(LINUX_BUILD_DIR)/linux-$(LINUX_VERSION) $(BUILD_DIR)/linux
touch $@
ifeq ($(KERNEL),2.4)
@@ -83,8 +81,13 @@ $(KERNEL_IPKG):
fi
$(IPKG_BUILD) $(KERNEL_IDIR) $(LINUX_BUILD_DIR)
$(BUILD_DIR)/kernel.mk: FORCE
echo "BOARD:=$(BOARD)" > $@
echo "LINUX_VERSION:=$(LINUX_VERSION)" >> $@
echo "LINUX_RELEASE:=$(LINUX_RELEASE)" >> $@
source: $(DL_DIR)/$(LINUX_SOURCE)
prepare:
prepare: $(BUILD_DIR)/kernel.mk
@mkdir -p $(STAMP_DIR) $(PACKAGE_DIR)
@$(MAKE) $(LINUX_DIR)/.configured