rules.mk: Create an LDINC variable for linker script search path.

This commit is contained in:
William D. Jones
2019-09-14 21:16:10 -04:00
parent d464c26ab2
commit 772b0c17bf
2 changed files with 4 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ ifeq ($(BOARD), msp_exp430f5529lp)
else
LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,-Map=$@.map -Wl,-cref -Wl,-gc-sections -specs=nosys.specs -specs=nano.specs
endif
LDFLAGS += $(addprefix -L,$(LDINC))
ASFLAGS += $(CFLAGS)
# Assembly files can be name with upper case .S, convert it to .s