platform.mk 419 B

123456789101112131415
  1. # Add inputs and outputs from these tool invocations to the build variables
  2. SYSROOT = $(SBI_SYSROOT)
  3. USR_INCS := $(addprefix -I $(SYSROOT),$(PLATFORM_INCS_EX))
  4. ifeq ($(strip $(PLATFORM_LIB_PATHS)),)
  5. RS_LIB_PATHS := "$(SYSROOT)/usr/lib"
  6. else
  7. RS_LIB_PATHS := $(addprefix -L$(SYSROOT),$(PLATFORM_LIB_PATHS))
  8. endif
  9. RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX))
  10. PLATFORM_INCS = $(USR_INCS) -I"$(SDK_PATH)/library"