summaryrefslogtreecommitdiff
path: root/examples/rules.mk
diff options
context:
space:
mode:
authorWilliam D. Jones <[email protected]>2019-09-14 21:16:10 -0400
committerWilliam D. Jones <[email protected]>2019-09-14 21:16:10 -0400
commit772b0c17bf59df89bfc011b6c97cb63612afa8b8 (patch)
tree1be97cfe5137c694e339247fcda19a29a6688ad9 /examples/rules.mk
parentd464c26ab28d04c9eecbd8b8015d6f544f440352 (diff)
rules.mk: Create an LDINC variable for linker script search path.
Diffstat (limited to 'examples/rules.mk')
-rw-r--r--examples/rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index f57b506ca..a56b3668b 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -28,6 +28,7 @@ ifeq ($(BOARD), msp_exp430f5529lp)
else
LDFLAGS += $(CFLAGS) -fshort-enums -Wl,-T,$(TOP)/$(LD_FILE) -Wl,[email protected] -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