Add zynq7 apps common Makefile.include
authorWendy Liang <jliang@xilinx.com>
Fri, 8 Jan 2016 21:55:12 +0000 (13:55 -0800)
committerWendy Liang <jliang@xilinx.com>
Tue, 9 Feb 2016 19:54:53 +0000 (11:54 -0800)
Introduce common zynq7 apps' Makefile.include
for compilation settings to build zynq7 applications.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
apps/system/generic/machine/zynq7/Makefile.include [new file with mode: 0644]

diff --git a/apps/system/generic/machine/zynq7/Makefile.include b/apps/system/generic/machine/zynq7/Makefile.include
new file mode 100644 (file)
index 0000000..62a7ca8
--- /dev/null
@@ -0,0 +1,11 @@
+CFLAGS += -DZYNQ_A9
+CFLAGS += -I"$(call local_dir,.)"
+DEPS := -lc -lm -lcs3 -lcs3arm -lcs3unhosted
+
+ifeq ($(REMOTEPROC_MASTER),y)
+LINKERSCRIPT := $(call local_dir,linker_master.ld)
+else
+LINKERSCRIPT := $(call local_dir,linker_remote.ld)
+endif
+
+C_COMMON_SRCS := $(wildcard $(call local_dir,)*.c)