summaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorNoam Camus2015-10-16 15:52:43 +0200
committerVineet Gupta2016-05-09 06:02:33 +0200
commit966657890e874d3b01d94b1ec156b7da54ba99b0 (patch)
tree238e2b2a584b519d3d92f06819703b592181e3b2 /arch/arc/Makefile
parentARC: [plat-eznps] Use dedicated COMMAND_LINE_SIZE (diff)
downloadkernel-qcow2-linux-966657890e874d3b01d94b1ec156b7da54ba99b0.tar.gz
kernel-qcow2-linux-966657890e874d3b01d94b1ec156b7da54ba99b0.tar.xz
kernel-qcow2-linux-966657890e874d3b01d94b1ec156b7da54ba99b0.zip
ARC: Add eznps platform to Kconfig and Makefile
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>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index def69e347b2d..02fabef2891c 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -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/