mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-14 00:40:12 +00:00
6e70e4a071
This patch changes the samsung target to calculate the DTS file name from vendor and device name and the SOC (i.e. subtarget) following the common scheme: soc_vendor_model.dts This also updates the device definition name to make compatible, image name, menuconfig name and DTS name consistent. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
28 lines
614 B
Makefile
28 lines
614 B
Makefile
#
|
|
# Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com>
|
|
#
|
|
# 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
|
|
|
|
KERNEL_LOADADDR := 0x20008000
|
|
|
|
define Device/Default
|
|
PROFILES = Default
|
|
KERNEL_NAME := zImage
|
|
KERNEL := kernel-bin | append-dtb | uImage none
|
|
DEVICE_DTS_DIR := ../dts
|
|
DEVICE_DTS = $$(SOC)_$(1)
|
|
endef
|
|
|
|
define Device/embedsky_tq210
|
|
DEVICE_VENDOR := EmbedSky
|
|
DEVICE_MODEL := TQ210
|
|
SOC := s5pv210
|
|
endef
|
|
TARGET_DEVICES += embedsky_tq210
|
|
|
|
$(eval $(call BuildImage))
|