summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d25ce9)
raw | patch | inline | side by side (parent: 1d25ce9)
author | Wendy Liang <jliang@xilinx.com> | |
Sat, 9 Jan 2016 01:06:11 +0000 (17:06 -0800) | ||
committer | Wendy Liang <jliang@xilinx.com> | |
Tue, 9 Feb 2016 19:55:43 +0000 (11:55 -0800) |
Add zynqmp_r5 generic Makefile.include for common
compilation settings for zynqmp_r5 generic applications.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
compilation settings for zynqmp_r5 generic applications.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
apps/system/generic/machine/zynqmp_r5/Makefile.include | [new file with mode: 0644] | patch | blob |
diff --git a/apps/system/generic/machine/zynqmp_r5/Makefile.include b/apps/system/generic/machine/zynqmp_r5/Makefile.include
--- /dev/null
@@ -0,0 +1,20 @@
+CFLAGS += $(ARCH_CFLAGS)
+CFLAGS += -DZYNQMP_R5
+CFLAGS += -I"$(call local_dir,.)"
+DEPS := -lxil -lc -lm
+
+ifeq ($(REMOTEPROC_MASTER),y)
+$(error "Remoteproc master is not supported for this ARCH yet.")
+else
+LINKERSCRIPT := $(call local_dir,linker_remote.ld)
+endif
+
+C_COMMON_SRCS := $(wildcard $(call local_dir,)*.c)
+
+ifeq ($(EXTRA_INCLUDES),)
+EXTRA_INCLUDES += -I"$(OHOME)/obsolete/system/$(SYSTEM)/machine/$(MACHINE)/xil_standalone_lib"
+endif
+
+ifneq ($(EXTRA_INCLUDES),)
+CFLAGS += $(EXTRA_INCLUDES)
+endif