diff options
Diffstat (limited to 'Build/basedef.mk')
-rw-r--r-- | Build/basedef.mk | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/Build/basedef.mk b/Build/basedef.mk index 7cacafc..a762983 100644 --- a/Build/basedef.mk +++ b/Build/basedef.mk @@ -1,14 +1,34 @@ # Add inputs and outputs from these tool invocations to the build variables -C_DEPS += -SYSROOT := $(SBI_SYSROOT) +OS_NAME := $(shell $(UNAME)) -ROOTSTRAP_INCS := $(addprefix -I $(SYSROOT)/,$(PLATFORM_INCS_EX)) -EFL_INCS := -RS_LIBRARIES := $(addprefix -l,$(RS_LIBRARIES_EX)) +#ifeq ($(origin BUILD_CONFIG), undefined) +BUILD_CONFIG ?= Debug +#endif -PLATFORM_INCS := $(ROOTSTRAP_INCS) $(EFL_INCS) \ - -I"$(SDK_PATH)/library" +#ifeq ($(origin ARCH), undefined) +ARCH ?= i386 +#endif +#ifeq ($(origin PROJPATH), undefined) +PROJPATH ?= . +#endif + + +#ifeq ($(origin PROJ_PATH), undefined) +PROJ_PATH ?= $(PROJPATH) +#endif + +#ifeq ($(strip $(OUTPUT_DIR)),) +#OUTPUT_DIR ?= $(PROJ_PATH)/$(BUILD_CONFIG) +#endif + +#ifeq ($(strip $(BUILD_ARCH)),) +BUILD_ARCH ?= $(ARCH) +#endif + +#ifeq ($(strip $(ENVENTOR_PATH)),) +ENVENTOR_PATH ?= $(SDK_TOOLPATH)/enventor +#endif |