48ada70d3ffcd62b41fff0fc7b1d499c34df922a
[openwrt/openwrt.git] / target / linux / apm821xx / image / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5 include $(TOPDIR)/rules.mk
6 include $(INCLUDE_DIR)/image.mk
7
8 IMAGE_PROFILE:=$(if $(PROFILE),$(PROFILE),Default)
9
10 DEVICE_VARS += DTS IMAGE_SIZE
11
12 define Device/Default
13 BOARDNAME :=
14 DEVICE_PROFILE = $$(BOARDNAME)
15 PROFILES = Default $$(DEVICE_PROFILE)
16 KERNEL_DEPENDS = $$(wildcard ../dts/$$(DTS).dts)
17 KERNEL := kernel-bin | lzma | uImage lzma
18 KERNEL_INITRAMFS := kernel-bin | lzma | uImage lzma
19 endef
20 TARGET_DEVICES += Default
21
22 $(eval $(call BuildImage))