mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
650afe412b
commit
2b4d21a3e6
2 changed files with 4 additions and 18 deletions
|
@ -24,24 +24,11 @@ define Image/BuildKernel
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/InstallKernel
|
define Image/InstallKernel
|
||||||
|
|
||||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_ZIMAGE),)
|
|
||||||
mkdir -p $(TARGET_DIR)/boot
|
mkdir -p $(TARGET_DIR)/boot
|
||||||
cp $(KDIR)/zImage $(TARGET_DIR)/boot/
|
cp \
|
||||||
endif
|
$(KDIR)/zImage $(KDIR)/uImage \
|
||||||
|
$(foreach board,$(BOARDS),$(DTS_DIR)/$(board).dtb) \
|
||||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE),)
|
$(TARGET_DIR)/boot/
|
||||||
mkdir -p $(TARGET_DIR)/boot
|
|
||||||
cp $(KDIR)/uImage $(TARGET_DIR)/boot/
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),)
|
|
||||||
mkdir -p $(TARGET_DIR)/boot
|
|
||||||
$(foreach board,$(BOARDS),
|
|
||||||
$(CP) $(DTS_DIR)/$(board).dtb $(TARGET_DIR)/boot/
|
|
||||||
)
|
|
||||||
endif
|
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/SDCard-vfat-ext4
|
define Image/Build/SDCard-vfat-ext4
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
define Profile/duckbill
|
define Profile/duckbill
|
||||||
NAME:=I2SE Duckbill boards
|
NAME:=I2SE Duckbill boards
|
||||||
DEPENDS:=+@TARGET_ROOTFS_INCLUDE_KERNEL +@TARGET_ROOTFS_INCLUDE_DTB
|
|
||||||
FEATURES+=usbgadget
|
FEATURES+=usbgadget
|
||||||
PACKAGES+= \
|
PACKAGES+= \
|
||||||
-dnsmasq -firewall -ppp -ip6tables -iptables -6relayd -mtd uboot-envtools \
|
-dnsmasq -firewall -ppp -ip6tables -iptables -6relayd -mtd uboot-envtools \
|
||||||
|
|
Loading…
Reference in a new issue