mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
1b44ecc2d7
The only device in samsung target is meant to be built with s5pv210 subtarget. Thus, though this won't make a difference for a one-subtarget target, already add the condition to the Makefile to make the assignment obvious. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
32 lines
650 B
Makefile
32 lines
650 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
|
|
|
|
ifeq ($(SUBTARGET),s5pv210)
|
|
|
|
define Device/embedsky_tq210
|
|
DEVICE_VENDOR := EmbedSky
|
|
DEVICE_MODEL := TQ210
|
|
SOC := s5pv210
|
|
endef
|
|
TARGET_DEVICES += embedsky_tq210
|
|
|
|
endif
|
|
|
|
$(eval $(call BuildImage))
|