altos/telegps: Inherit LDFLAGS from lpc make specification
authorKeith Packard <keithp@keithp.com>
Fri, 14 Apr 2017 03:16:52 +0000 (21:16 -0600)
committerKeith Packard <keithp@keithp.com>
Fri, 14 Apr 2017 03:20:13 +0000 (21:20 -0600)
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>
src/telegps-v0.3/Makefile
src/telegps-v1.0/Makefile

index 1eaf7c474b5a2d1886e6a02dd74027150d93129e..834609d9ff3c7938ec899672f341ae31d42e7850 100644 (file)
@@ -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)
 
index bd13cfe7c7ddae70e24fbf6ef92e825c2eb0fd1d..76dc037147c398e53b01366b272076fd6cd48f0d 100644 (file)
@@ -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)