mirror of https://github.com/hak5/openwrt.git
omap: remove obsolete code for including kernel/dtb in rootfs
Signed-off-by: Felix Fietkau <nbd@nbd.name>lede-17.01
parent
1625e57772
commit
edea59fd99
|
@ -15,17 +15,6 @@ define Image/BuildKernel
|
|||
ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
|
||||
$(CP) $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-zImage-initramfs
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL),)
|
||||
$(INSTALL_DIR) $(TARGET_DIR)/boot
|
||||
$(CP) $(BIN_DIR)/$(IMG_PREFIX)-zImage $(TARGET_DIR)/boot/zImage
|
||||
endif
|
||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),)
|
||||
$(INSTALL_DIR) $(TARGET_DIR)/boot
|
||||
$(CP) $(DTS_DIR)/am335x*.dtb $(TARGET_DIR)/boot/
|
||||
$(CP) $(DTS_DIR)/omap3*.dtb $(TARGET_DIR)/boot/
|
||||
$(CP) $(DTS_DIR)/omap4*.dtb $(TARGET_DIR)/boot/
|
||||
endif
|
||||
-mkdir $(BIN_DIR)/dtbs
|
||||
-$(CP) $(DTS_DIR)/am335x*.dtb $(BIN_DIR)/dtbs/
|
||||
-$(CP) $(DTS_DIR)/omap3*.dtb $(BIN_DIR)/dtbs/
|
||||
|
|
Loading…
Reference in New Issue