summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-04-13 21:16:52 -0600
committerBdale Garbee <bdale@gag.com>2017-04-22 12:06:40 -0600
commite09d0aee9926951bd4179be03f1626de8d7927a9 (patch)
treecaccb751b561be08743b4d5c090228891ae45d90
parent80e0466db0be2b892499bd2d9f136a3aa1ebb44f (diff)
altos/telegps: Inherit LDFLAGS from lpc make specification
Somethings messed up with cortex-M0 linking, and this isn't helping as it overrides the LDFLAGS coming from the architecture. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/telegps-v0.3/Makefile2
-rw-r--r--src/telegps-v1.0/Makefile2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/telegps-v0.3/Makefile b/src/telegps-v0.3/Makefile
index 1eaf7c47..834609d9 100644
--- a/src/telegps-v0.3/Makefile
+++ b/src/telegps-v0.3/Makefile
@@ -67,8 +67,6 @@ OBJ=$(SRC:.c=.o)
all: $(PROG) $(HEX)
-LDFLAGS=-L../lpc -Wl,-Taltos.ld
-
$(PROG): Makefile $(OBJ) altos.ld
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
diff --git a/src/telegps-v1.0/Makefile b/src/telegps-v1.0/Makefile
index bd13cfe7..76dc0371 100644
--- a/src/telegps-v1.0/Makefile
+++ b/src/telegps-v1.0/Makefile
@@ -70,8 +70,6 @@ OBJ=$(SRC:.c=.o)
all: $(PROG) $(HEX)
-LDFLAGS=-L../lpc -Wl,-Taltos.ld
-
$(PROG): Makefile $(OBJ) altos.ld
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)