Allow PN531_PATH to be overriden from .config

This commit is contained in:
Jouni Malinen 2009-03-06 16:25:48 +02:00 committed by Jouni Malinen
parent e1ee6b600b
commit 9cf548c082
2 changed files with 2 additions and 2 deletions

View file

@ -330,7 +330,7 @@ OBJS += ../src/wps/ndef.o
OBJS += ../src/wps/wps_nfc.o
NEED_WPS_OOB=y
ifdef CONFIG_WPS_NFC_PN531
PN531_PATH = /usr/local/src/nfc
PN531_PATH ?= /usr/local/src/nfc
CFLAGS += -DCONFIG_WPS_NFC_PN531
CFLAGS += -I${PN531_PATH}/inc
OBJS += ../src/wps/wps_nfc_pn531.o

View file

@ -540,7 +540,7 @@ OBJS += ../src/wps/ndef.o
OBJS += ../src/wps/wps_nfc.o
NEED_WPS_OOB=y
ifdef CONFIG_WPS_NFC_PN531
PN531_PATH = /usr/local/src/nfc
PN531_PATH ?= /usr/local/src/nfc
CFLAGS += -DCONFIG_WPS_NFC_PN531
CFLAGS += -I${PN531_PATH}/inc
OBJS += ../src/wps/wps_nfc_pn531.o