projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
had the sense backwards .. presence of 'attached' should put us in the loader
[fw/altos]
/
src
/
tidongle
/
Makefile
diff --git
a/src/tidongle/Makefile
b/src/tidongle/Makefile
index 0bb2ce320adf22ebd0937e9c8ae487a4fdb5a889..0e90d74485d52d01f37584fb417153364d10e273 100644
(file)
--- a/
src/tidongle/Makefile
+++ b/
src/tidongle/Makefile
@@
-2,8
+2,8
@@
# TIDongle build file
#
# TIDongle build 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
vpath ao-make-product.5c ../util
ifndef VERSION
@@
-53,7
+53,8
@@
SRC = \
$(DRIVER_SRC) \
$(PRODUCT_SRC)
$(DRIVER_SRC) \
$(PRODUCT_SRC)
-PROG = tidongle-$(VERSION).ihx
+PROGNAME = tidongle
+PROG = $(PROGNAME)-$(VERSION).ihx
PRODUCT=TIDongle
PRODUCT_DEF=-DTIDONGLE
IDPRODUCT=0x000a
PRODUCT=TIDongle
PRODUCT_DEF=-DTIDONGLE
IDPRODUCT=0x000a
@@
-71,10
+72,10
@@
endif
# Otherwise, print the full command line.
quiet ?= $($1)
# 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
$(call quiet,CHECK_STACK) ../cc1111/ao_arch.h $(PMEM) || rm $@
ao_product.h: ao-make-product.5c ../Version
@@
-82,11
+83,7
@@
ao_product.h: ao-make-product.5c ../Version
distclean: clean
distclean: clean
-clean:
- rm -f $(ADB) $(ASM) $(LNK) $(LST) $(REL) $(RST) $(SYM)
- rm -f $(PROG) $(PCDB) $(PLNK) $(PMAP) $(PMEM) $(PAOM)
- rm -f ao_product.h
- rm -f ../$(PROG) ../$(PMAP)
+clean: clean-cc1111
install:
install: