Merge pull request #13080 from aabadie/pr/make/remove_useless_exports_all

make: even more useless exports removed
This commit is contained in:
Alexandre Abadie 2020-02-25 11:30:03 +01:00 committed by GitHub
commit e119bf6681
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 11 additions and 9 deletions

View File

@ -160,4 +160,4 @@ eval-gprof:
eval-cachegrind:
$(CGANNOTATE) $(shell ls -rt cachegrind.out* | tail -1)
export UNDEF += $(BINDIR)/cpu/startup.o
UNDEF += $(BINDIR)/cpu/startup.o

View File

@ -1,5 +1,5 @@
# Target architecture for the build. Use arm-none-eabi if you are unsure.
export TARGET_ARCH ?= arm-none-eabi
TARGET_ARCH ?= arm-none-eabi
INCLUDES += -I$(RIOTBASE)/cpu/arm7_common/include/
@ -18,4 +18,4 @@ LINKFLAGS += -T$(RIOTCPU)/$(CPU)/ldscripts/$(CPU).ld
LINKFLAGS += $(CFLAGS_CPU) $(CFLAGS_DBG) $(CFLAGS_OPT) -static -lgcc -nostartfiles
LINKFLAGS += -Wl,--gc-sections
export UNDEF += $(BINDIR)/cpu/startup.o
UNDEF += $(BINDIR)/cpu/startup.o

View File

@ -44,7 +44,7 @@ CFLAGS += \
#
# add the CPU specific flash configuration field for the linker
export UNDEF += $(BINDIR)/cpu/fcfield.o
UNDEF += $(BINDIR)/cpu/fcfield.o
# select kinetis periph drivers
ifeq (EA,$(KINETIS_SERIES))

View File

@ -4,7 +4,7 @@ INCLUDES += -I$(RIOTCPU)/msp430_common/include/
CFLAGS += -DCPU_MODEL_$(call uppercase_and_underscore,$(CPU_MODEL))
export UNDEF += $(BINDIR)/msp430_common/startup.o
UNDEF += $(BINDIR)/msp430_common/startup.o
# include the msp430 common Makefile
include $(RIOTMAKE)/arch/msp430.inc.mk

View File

@ -85,7 +85,9 @@ UNEXPORTED_VARIABLES+=('USEMODULE_INCLUDES')
EXPORTED_VARIABLES_ONLY_IN_VARS=()
EXPORTED_VARIABLES_ONLY_IN_VARS+=('CPU_ARCH')
EXPORTED_VARIABLES_ONLY_IN_VARS+=('CPU_FAM')
EXPORTED_VARIABLES_ONLY_IN_VARS+=('UNDEF')
EXPORTED_VARIABLES_ONLY_IN_VARS+=('USEMODULE')
EXPORTED_VARIABLES_ONLY_IN_VARS+=('TARGET_ARCH')
EXPORTED_VARIABLES_ONLY_IN_VARS+=('TOOLCHAIN')
EXPORTED_VARIABLES_ONLY_IN_VARS+=('WERROR')
EXPORTED_VARIABLES_ONLY_IN_VARS+=('WPEDANTIC')

View File

@ -1,5 +1,5 @@
# Target triple for the build.
export TARGET_ARCH ?= mips-mti-elf
TARGET_ARCH ?= mips-mti-elf
ABI = 32

View File

@ -1,5 +1,5 @@
# Target architecture for the build. Use msp430 if you are unsure.
export TARGET_ARCH ?= msp430
TARGET_ARCH ?= msp430
# define build specific options
CFLAGS_CPU = -mmcu=$(CPU_MODEL)

View File

@ -1,5 +1,5 @@
# Target architecture for the build.
export TARGET_ARCH ?= riscv-none-embed
TARGET_ARCH ?= riscv-none-embed
# define build specific options
CFLAGS_CPU = -march=rv32imac -mabi=ilp32 -mcmodel=medlow -msmall-data-limit=8

View File

@ -43,7 +43,7 @@ ifneq (,$(filter cpp11-compat,$(USEMODULE)))
USEMODULE_INCLUDES += $(RIOTBASE)/sys/cpp11-compat/include
# make sure cppsupport.o is linked explicitly because __dso_handle is not
# found if it is hidden away inside a static object.
export UNDEF += $(BINDIR)/cpp11-compat/cppsupport.o
UNDEF += $(BINDIR)/cpp11-compat/cppsupport.o
endif
ifneq (,$(filter embunit,$(USEMODULE)))