apps:generic:zynq7: add remotproc master support
[processor-sdk/open-amp.git] / apps / system / generic / machine / zynq7 / Makefile.include
1 CFLAGS += $(ARCH_CFLAGS)
2 CFLAGS += -DZYNQ_A9
3 CFLAGS += -I"$(call local_dir,.)"
4 DEPS := -lc -lm -lcs3 -lcs3arm -lcs3unhosted
6 ifeq ($(REMOTEPROC_MASTER),y)
7 LINKERSCRIPT := $(call local_dir,linker_master.ld)
8 C_COMMON_SRCS :=  $(call local_dir,platform_info_remoteproc_master.c)
9 else
10 LINKERSCRIPT := $(call local_dir,linker_remote.ld)
11 C_COMMON_SRCS := $(wildcard $(call local_dir,)*.c)
12 endif
14 ARCH_COMMON_DIR := $(call local_dir,.)