ARM: dts: Makefile: fix build for at91family
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 9 Aug 2018 11:12:00 +0000 (14:12 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 11 Sep 2018 00:48:18 +0000 (20:48 -0400)
For at91family, makefile was building unwanted DTBs
Moved them under specific target configuration.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
arch/arm/dts/Makefile

index 31d9256a3e91946175e8516f364ad43abd81529d..24900293950e9be3dd78c635f4878ca8bfb528cb 100644 (file)
@@ -1,9 +1,9 @@
 # SPDX-License-Identifier: GPL-2.0+
 
-dtb-$(CONFIG_AT91FAMILY) += at91sam9260-smartweb.dtb \
-       at91sam9g20-taurus.dtb \
-       at91sam9g45-corvus.dtb \
-       at91sam9g45-gurnard.dtb
+dtb-$(CONFIG_TARGET_SMARTWEB) += at91sam9260-smartweb.dtb
+dtb-$(CONFIG_TARGET_TAURUS) += at91sam9g20-taurus.dtb
+dtb-$(CONFIG_TARGET_CORVUS) += at91sam9g45-corvus.dtb
+dtb-$(CONFIG_TARGET_GURNARD) += at91sam9g45-gurnard.dtb
 
 dtb-$(CONFIG_S5PC100) += s5pc1xx-smdkc100.dtb
 dtb-$(CONFIG_S5PC110) += s5pc1xx-goni.dtb