samsung: add subtarget condition for device
[openwrt/staging/mkresin.git] / target / linux / samsung / image / Makefile
1 #
2 # Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/image.mk
9
10 KERNEL_LOADADDR := 0x20008000
11
12 define Device/Default
13 PROFILES = Default
14 KERNEL_NAME := zImage
15 KERNEL := kernel-bin | append-dtb | uImage none
16 DEVICE_DTS_DIR := ../dts
17 DEVICE_DTS = $$(SOC)_$(1)
18 endef
19
20 ifeq ($(SUBTARGET),s5pv210)
21
22 define Device/embedsky_tq210
23 DEVICE_VENDOR := EmbedSky
24 DEVICE_MODEL := TQ210
25 SOC := s5pv210
26 endef
27 TARGET_DEVICES += embedsky_tq210
28
29 endif
30
31 $(eval $(call BuildImage))