diff options
| author | hathach <[email protected]> | 2021-03-02 11:50:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-03-02 11:50:57 +0700 |
| commit | 71313d934d2258802a850cccecaf18f0cdccf386 (patch) | |
| tree | 6c7412231563abb5187665e38b8ff438577194bf /examples | |
| parent | a2366fce53196d49fb7b51606bf2c32be4203642 (diff) | |
update ci for msp430 family
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rules.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index 1d5a190fe..2b28a4714 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -100,12 +100,11 @@ INC += $(TOP)/src CFLAGS += $(addprefix -I,$(INC)) -# TODO Skip nanolib for MSP430 -ifeq ($(BOARD), msp_exp430f5529lp) - LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -Wl,-cref -Wl,-gc-sections -else - LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -Wl,-cref -Wl,-gc-sections -specs=nosys.specs -specs=nano.specs +LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -Wl,-cref -Wl,-gc-sections +ifneq ($(SKIP_NANOLIB), 1) +LDFLAGS += -specs=nosys.specs -specs=nano.specs endif + ASFLAGS += $(CFLAGS) # Assembly files can be name with upper case .S, convert it to .s |
