Signed-off-by: Felix Fietkau <nbd@nbd.name>
endef
define Image/InstallKernel
endef
define Image/InstallKernel
-
- ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_ZIMAGE),)
- mkdir -p $(TARGET_DIR)/boot
- cp $(KDIR)/zImage $(TARGET_DIR)/boot/
- endif
-
- ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE),)
mkdir -p $(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
-
+ cp \
+ $(KDIR)/zImage $(KDIR)/uImage \
+ $(foreach board,$(BOARDS),$(DTS_DIR)/$(board).dtb) \
+ $(TARGET_DIR)/boot/
endef
define Image/Build/SDCard-vfat-ext4
endef
define Image/Build/SDCard-vfat-ext4
define Profile/duckbill
NAME:=I2SE Duckbill boards
define Profile/duckbill
NAME:=I2SE Duckbill boards
- DEPENDS:=+@TARGET_ROOTFS_INCLUDE_KERNEL +@TARGET_ROOTFS_INCLUDE_DTB
FEATURES+=usbgadget
PACKAGES+= \
-dnsmasq -firewall -ppp -ip6tables -iptables -6relayd -mtd uboot-envtools \
FEATURES+=usbgadget
PACKAGES+= \
-dnsmasq -firewall -ppp -ip6tables -iptables -6relayd -mtd uboot-envtools \