diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-07-23 13:11:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-07-23 13:11:41 +0000 |
commit | 83506b9cf720c7a6a0b0149896ecf5c8d92c1164 (patch) | |
tree | 1645bd23a3406937742c3068df621e6bd6c9eb6c /include | |
parent | 44fd2b8d8e1cf5edb4b4c48a34190a19b9f69ac8 (diff) | |
download | upstream-83506b9cf720c7a6a0b0149896ecf5c8d92c1164.tar.gz upstream-83506b9cf720c7a6a0b0149896ecf5c8d92c1164.tar.bz2 upstream-83506b9cf720c7a6a0b0149896ecf5c8d92c1164.zip |
kernel: fix remaining initramfs related breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37518 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel-defaults.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index c6f02e6514..48f2b2ab75 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -134,7 +134,7 @@ endif endef define Kernel/CompileImage/Default - $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init) + rm -f $(TARGET_DIR)/init +$(MAKE) $(KERNEL_MAKEOPTS) $(subst ",,$(KERNELNAME)) #") $(call Kernel/CopyImage) @@ -143,7 +143,7 @@ endef ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) define Kernel/CompileImage/Initramfs $(call Kernel/Configure/Initramfs) - $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init) + $(CP) $(GENERIC_PLATFORM_DIR)/base-files/init $(TARGET_DIR)/init rm -rf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/usr/initramfs_data.cpio* +$(MAKE) $(KERNEL_MAKEOPTS) $(subst ",,$(KERNELNAME)) #") |