treewide: provide global default for SUPPORTED_DEVICES
[openwrt/openwrt.git] / target / linux / mpc85xx / 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 define Build/copy-file
9 cat "$(1)" > "$@"
10 endef
11
12 define Device/Default
13 PROFILES := Default
14 DEVICE_DTS := $(lastword $(subst _, ,$(1)))
15 KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
16 KERNEL_ENTRY := 0x00000000
17 KERNEL_LOADADDR := 0x00000000
18 KERNEL := kernel-bin
19 endef
20
21 include $(SUBTARGET).mk
22
23 $(eval $(call BuildImage))