2010-12-05 11:38:59 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2019-03-02 02:03:32 +00:00
|
|
|
define Build/copy-file
|
|
|
|
cat "$(1)" > "$@"
|
|
|
|
endef
|
|
|
|
|
2017-10-20 17:36:25 +00:00
|
|
|
define Device/Default
|
|
|
|
PROFILES := Default
|
2019-11-23 17:20:34 +00:00
|
|
|
DEVICE_DTS := $(lastword $(subst _, ,$(1)))
|
2017-10-20 17:36:25 +00:00
|
|
|
KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
|
|
|
|
KERNEL_ENTRY := 0x00000000
|
|
|
|
KERNEL_LOADADDR := 0x00000000
|
|
|
|
KERNEL := kernel-bin
|
2019-11-23 17:20:34 +00:00
|
|
|
SUPPORTED_DEVICES := $(subst _,$(comma),$(1))
|
2013-03-15 16:11:45 +00:00
|
|
|
endef
|
|
|
|
|
2020-05-18 19:10:45 +00:00
|
|
|
include $(SUBTARGET).mk
|
2018-12-30 07:38:45 +00:00
|
|
|
|
2010-12-05 11:38:59 +00:00
|
|
|
$(eval $(call BuildImage))
|