Switch from GPLv2 to GPLv2+
[fw/altos] / src / product / Makefile.teledongle
index 5105b567dc234e1ee8f31a138a63175acb99dda8..b7c289877e110d49f7696ee9a1e18c424d2ee334 100644 (file)
@@ -7,8 +7,8 @@
 # TD_VER, TD_DEF and include
 # this file
 
-vpath %.c ..:../core:../cc1111:../drivers:../product
-vpath %.h ..:../core:../cc1111:../drivers:../product
+vpath %.c ..:../kernel:../cc1111:../drivers:../product
+vpath %.h ..:../kernel:../cc1111:../drivers:../product
 vpath ao-make-product.5c ../util
 
 ifndef VERSION
@@ -43,6 +43,7 @@ CC1111_SRC = \
        ao_packet.c \
        ao_packet_master.c \
        ao_radio.c \
+       ao_send_packet.c \
        ao_romconfig.c \
        ao_string.c \
        ao_timer.c \
@@ -79,10 +80,10 @@ endif
 # Otherwise, print the full command line.
 quiet ?= $($1)
 
-all: ../$(PROG)
+all: $(PROG)
 
-../$(PROG): $(REL) Makefile
-       $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL) && cp $(PROG) $(PMAP) ..
+$(PROG): $(REL) Makefile
+       $(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(REL)
        $(call quiet,CHECK_STACK) ../cc1111/ao_arch.h $(PMEM) || rm $@
 
 ao_product.h: ao-make-product.5c ../Version