From: Felix Fietkau Date: Tue, 19 Jul 2016 14:50:55 +0000 (+0200) Subject: omap: remove obsolete code for including kernel/dtb in rootfs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=edea59fd99cfe708dd882610e8a3f456dda5c7ad;p=openwrt%2Fstaging%2Fnbd.git omap: remove obsolete code for including kernel/dtb in rootfs Signed-off-by: Felix Fietkau --- diff --git a/target/linux/omap/image/Makefile b/target/linux/omap/image/Makefile index 3fa2848e03..4c24cca27a 100644 --- a/target/linux/omap/image/Makefile +++ b/target/linux/omap/image/Makefile @@ -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/