openwrt/target/linux/apm821xx/image/Makefile

23 lines
578 B
Makefile
Raw Normal View History

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
IMAGE_PROFILE:=$(if $(PROFILE),$(PROFILE),Default)
DEVICE_VARS += DTS IMAGE_SIZE
define Device/Default
BOARDNAME :=
DEVICE_PROFILE = $$(BOARDNAME)
PROFILES = Default $$(DEVICE_PROFILE)
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DTS).dts)
KERNEL := kernel-bin | lzma | uImage lzma
KERNEL_INITRAMFS := kernel-bin | lzma | uImage lzma
endef
TARGET_DEVICES += Default
$(eval $(call BuildImage))