openwrtv3/target/linux/apm821xx/image/Makefile
Chris Blake 3827ce2c3d apm821xx: add support for the apm821xx device target
This adds a new target for PowerPC APM82181 and APM82161
(464-based) boards, as well as adds support for the booke-wdt
watchdog package.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
2016-07-22 09:48:12 +02:00

22 lines
578 B
Makefile

#
# 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))