From 16b039f36796471114732bf2fe933884aa7ff352 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Wed, 12 Feb 2014 15:38:08 +0000 Subject: handle some CONFIG_TARGET_ROOTFS_INCLUDE_ foo Signed-off-by: Imre Kaloz SVN-Revision: 39578 --- target/linux/omap/image/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/target/linux/omap/image/Makefile b/target/linux/omap/image/Makefile index e681b04267..1f6f28aded 100644 --- a/target/linux/omap/image/Makefile +++ b/target/linux/omap/image/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2012-2013 OpenWrt.org +# Copyright (C) 2012-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -22,6 +22,17 @@ define Image/BuildKernel endef define Image/Build + + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL),) + $(INSTALL_DIR) $(TARGET_DIR)/boot + $(CP) $(KDIR)/zImage $(TARGET_DIR)/boot/ + endif + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),) + $(INSTALL_DIR) $(TARGET_DIR)/boot + $(CP) $(LINUX_DIR)/arch/arm/boot/dts/am335x*.dtb $(TARGET_DIR)/boot/ + $(CP) $(LINUX_DIR)/arch/arm/boot/dts/omap3*.dtb $(TARGET_DIR)/boot/ + $(CP) $(LINUX_DIR)/arch/arm/boot/dts/omap4*.dtb $(TARGET_DIR)/boot/ + endif $(call Image/Build/$(1),$(1)) endef -- cgit v1.2.3