mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-02 01:08:05 +00:00
mxs: Include the right kernel image in the rootfs
Signed-off-by: Harald Geyer <harald@ccbib.org> Acked-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 45368
This commit is contained in:
parent
bbad3f360e
commit
db4ce3d16c
@ -22,10 +22,15 @@ endef
|
||||
|
||||
define Image/InstallKernel
|
||||
|
||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL),)
|
||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_ZIMAGE),)
|
||||
mkdir -p $(TARGET_DIR)/boot
|
||||
$(CP) $(LINUX_DIR)/arch/arm/boot/zImage $(TARGET_DIR)/boot/
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE),)
|
||||
mkdir -p $(TARGET_DIR)/boot
|
||||
cp $(KDIR)/uImage $(TARGET_DIR)/boot/
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),)
|
||||
mkdir -p $(TARGET_DIR)/boot
|
||||
|
Loading…
x
Reference in New Issue
Block a user