build: move Build/copy-file to image-commands.mk
[openwrt/staging/ansuel.git] / target / linux / mpc85xx / image / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2
3 include $(TOPDIR)/rules.mk
4 include $(INCLUDE_DIR)/image.mk
5
6 define Device/Default
7 PROFILES := Default
8 DEVICE_DTS := $(lastword $(subst _, ,$(1)))
9 KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
10 KERNEL_ENTRY := 0x00000000
11 KERNEL_LOADADDR := 0x00000000
12 KERNEL := kernel-bin
13 endef
14
15 include $(SUBTARGET).mk
16
17 $(eval $(call BuildImage))