Changeset 37518


Ignore:
Timestamp:
2013-07-23T15:11:41+02:00 (5 years ago)
Author:
nbd
Message:

kernel: fix remaining initramfs related breakage

Signed-off-by: Felix Fietkau <nbd@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/kernel-defaults.mk

    r37128 r37518  
    135135 
    136136define Kernel/CompileImage/Default 
    137         $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init) 
     137        rm -f $(TARGET_DIR)/init 
    138138        +$(MAKE) $(KERNEL_MAKEOPTS) $(subst ",,$(KERNELNAME)) 
    139139        #") 
     
    144144define Kernel/CompileImage/Initramfs 
    145145        $(call Kernel/Configure/Initramfs) 
    146         $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),,rm -f $(TARGET_DIR)/init) 
     146        $(CP) $(GENERIC_PLATFORM_DIR)/base-files/init $(TARGET_DIR)/init 
    147147        rm -rf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/usr/initramfs_data.cpio* 
    148148        +$(MAKE) $(KERNEL_MAKEOPTS) $(subst ",,$(KERNELNAME)) 
Note: See TracChangeset for help on using the changeset viewer.