diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-02 21:50:37 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-02 21:50:37 +0000 |
commit | 42450b1941db12165a1748bc41b5c1032105c31d (patch) | |
tree | 2883dfe42f62646ff8be9720aa3934bf2ecbcbbe /target/linux/Makefile.in | |
parent | 18a970c4f15271bd4ba665a4aa171f5e53d95e5d (diff) | |
download | buildroot-novena-42450b1941db12165a1748bc41b5c1032105c31d.tar.gz buildroot-novena-42450b1941db12165a1748bc41b5c1032105c31d.zip |
- build and use the list of the small initramfs
Overriding the use of the whole system (as does the initramfs target) is done
on purpose.
Diffstat (limited to 'target/linux/Makefile.in')
-rw-r--r-- | target/linux/Makefile.in | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/target/linux/Makefile.in b/target/linux/Makefile.in index 948dd3ea2..ba571b56a 100644 --- a/target/linux/Makefile.in +++ b/target/linux/Makefile.in @@ -160,6 +160,14 @@ ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) echo "CONFIG_INITRAMFS_ROOT_UID=0" >> $(LINUX26_DIR)/.config echo "CONFIG_INITRAMFS_ROOT_GID=0" >> $(LINUX26_DIR)/.config endif +ifeq ($(BR2_PACKAGE_BUSYBOX_INITRAMFS),y) + $(SED) '/CONFIG_INITRAMFS_SOURCE/d' $(LINUX26_DIR)/.config + echo "CONFIG_INITRAMFS_SOURCE=\"$(BB_INITRAMFS_TARGET)\"" >> \ + $(LINUX26_DIR)/.config + $(SED) '/INITRAMFS_ROOT_.ID/d' $(LINUX26_DIR)/.config + echo "CONFIG_INITRAMFS_ROOT_UID=0" >> $(LINUX26_DIR)/.config + echo "CONFIG_INITRAMFS_ROOT_GID=0" >> $(LINUX26_DIR)/.config +endif $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) oldconfig touch $@ @@ -167,7 +175,8 @@ $(LINUX26_DIR)/.depend_done: $(LINUX26_DIR)/.configured $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) prepare touch $@ -$(LINUX26_KERNEL): $(LINUX26_DIR)/.depend_done +$(LINUX26_KERNEL): $(INITRAMFS_TARGET) $(BB_INITRAMFS_TARGET) \ + $(LINUX26_DIR)/.depend_done $(MAKE) $(LINUX26_MAKE_FLAGS) LZMA="$(LZMA)" \ -C $(LINUX26_DIR) $(LINUX26_FORMAT) cp -dpf $(LINUX26_DIR)/$(LINUX26_BINLOC) $(LINUX26_KERNEL) @@ -190,7 +199,7 @@ linux26-menuconfig: $(LINUX26_DIR)/.patched host-sed $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) menuconfig -[ -f $(LINUX26_DIR)/.config ] && touch $(LINUX26_DIR)/.configured -linux26: $(INITRAMFS_TARGET) $(LINUX26_KERNEL) +linux26: $(LINUX26_KERNEL) $(LINUX26_DIR)/.modules_installed: $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/modules.dep touch $@ |