altos: Add needed math sources to TeleGPS v0.1 build
authorKeith Packard <keithp@keithp.com>
Sun, 9 Feb 2014 04:05:02 +0000 (20:05 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 9 Feb 2014 04:13:38 +0000 (20:13 -0800)
APRS requires the logf function to report altitude.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telegps-v0.1/Makefile

index 49e325ac9b48b376057259f1c072e67c67bcb3f8..77ef9c4a8e9c6a394f7f85be0cde32325260e8a5 100644 (file)
@@ -32,6 +32,9 @@ INC = \
 #STACK_GUARD=ao_mpu_stm.c
 #STACK_GUARD_DEF=-DHAS_STACK_GUARD=1
 
+MATH_SRC=\
+       ef_log.c
+
 ALTOS_SRC = \
        ao_boot_chain.c \
        ao_interrupt.c \
@@ -64,7 +67,8 @@ ALTOS_SRC = \
        ao_log_fat.c \
        ao_gps_report_mega.c \
        ao_telemetry.c \
-       $(SAMPLE_PROFILE)
+       $(SAMPLE_PROFILE) \
+       $(MATH_SRC)
 
 PRODUCT=TeleGPS-v0.1
 PRODUCT_DEF=-DTELEGPS