ARC: Add eznps platform to Kconfig and Makefile
authorNoam Camus <noamc@ezchip.com>
Fri, 16 Oct 2015 13:52:43 +0000 (16:52 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 9 May 2016 04:02:33 +0000 (09:32 +0530)
This commit should be left last since only now eznps platform
is in state which one can actually use.
Signed-off-by: Noam Camus <noamc@ezchip.com>
arch/arc/Kconfig
arch/arc/Makefile

index 30ad63413660972b62d86558f5c36d464d34be1f..8894f7e7e3de2a6e6cc1947d93a9359be961c699 100644 (file)
@@ -97,6 +97,7 @@ source "arch/arc/plat-sim/Kconfig"
 source "arch/arc/plat-tb10x/Kconfig"
 source "arch/arc/plat-axs10x/Kconfig"
 #New platform adds here
+source "arch/arc/plat-eznps/Kconfig"
 
 endmenu
 
index def69e347b2da7c880e716179f4804407005feb1..02fabef2891cd8bf1a6eda36bcf93549eea16158 100644 (file)
@@ -115,6 +115,11 @@ core-y             += arch/arc/boot/dts/
 core-$(CONFIG_ARC_PLAT_SIM)    += arch/arc/plat-sim/
 core-$(CONFIG_ARC_PLAT_TB10X)  += arch/arc/plat-tb10x/
 core-$(CONFIG_ARC_PLAT_AXS10X) += arch/arc/plat-axs10x/
+core-$(CONFIG_ARC_PLAT_EZNPS)  += arch/arc/plat-eznps/
+
+ifdef CONFIG_ARC_PLAT_EZNPS
+KBUILD_CPPFLAGS += -I$(srctree)/arch/arc/plat-eznps/include
+endif
 
 drivers-$(CONFIG_OPROFILE)     += arch/arc/oprofile/