openwrt/target/linux/siflower/image/Makefile

29 lines
772 B
Makefile
Raw Normal View History

include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
KERNEL_LOADADDR := 0x80100000
define Device/Default
PROFILES := Default
BLOCKSIZE := 64k
FILESYSTEMS := squashfs
DEVICE_DTS_DIR := ../dts
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
IMAGES := sysupgrade.bin
IMAGE/sysupgrade.bin = append-kernel | pad-to $$$$(BLOCKSIZE) | \
append-rootfs | pad-rootfs | append-metadata
endef
define Device/siflower_sf19a2890-evb
DEVICE_VENDOR := Siflower
DEVICE_MODEL := SF19A2890 EVB
BOARD_NAME := siflower,sf19a2890-evb
DEVICE_DTS := sf19a2890_evb
DEVICE_PACKAGES := kmod-switch-rtl8367b swconfig
endef
TARGET_DEVICES += siflower_sf19a2890-evb
$(eval $(call BuildImage))