summaryrefslogtreecommitdiff
path: root/Build/platform.mk
blob: 3895d9065d84c9e4c4c71b38b2770151c40820d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Add inputs and outputs from these tool invocations to the build variables

SYSROOT = $(SBI_SYSROOT)

#USR_INCS := $(addprefix -I "$(SYSROOT),$(PLATFORM_INCS_EX))
USR_INCS1 := $(addsuffix ",$(PLATFORM_INCS_EX))
USR_INCS := $(addprefix -I "$(SYSROOT),$(USR_INCS1))

ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
else
RS_LIB_PATHS1 := $(addsuffix ",$(PLATFORM_LIB_PATHS))
RS_LIB_PATHS := $(addprefix -L "$(SYSROOT),$(RS_LIB_PATHS1))
endif

RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))

PLATFORM_INCS = $(USR_INCS) -I "$(SDK_PATH)/library"