diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-12-18 12:56:10 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-12-18 12:56:10 +0000 |
commit | f411c7b546bc531c038c8b1625fa2b7e22c10bb6 (patch) | |
tree | 799b06a666e57de7471b449a922a3adb217ab05c /firmware/Makefile | |
parent | 09a4935f5d8620eb1ef71c5564b5ddae982a5270 (diff) |
only link with librfid if we're building main_librfid
git-svn-id: https://svn.openpcd.org:2342/trunk@286 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/Makefile')
-rw-r--r-- | firmware/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index b7bb60f..f18fa80 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -266,7 +266,9 @@ ASFLAGS = $(ADEFS) -Wa,-adhlns=$(<:.S=.lst),--g$(DEBUGF) -Iinclude/ -D__ASSEMBLY # To add libxyz.a, libabc.a and libefsl.a: # EXTRA_LIBS = xyz abc efsl #EXTRA_LIBS = efsl +ifeq ($(TARGET),main_librfid) EXTRA_LIBS = rfid +endif #Support for newlibc-lpc (file: libnewlibc-lpc.a) #NEWLIBLPC = -lnewlib-lpc |