From f411c7b546bc531c038c8b1625fa2b7e22c10bb6 Mon Sep 17 00:00:00 2001 From: laforge Date: Mon, 18 Dec 2006 12:56:10 +0000 Subject: 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 --- firmware/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware') 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 -- cgit v1.2.3