Allow PN531_PATH to be overriden from .config
This commit is contained in:
parent
e1ee6b600b
commit
9cf548c082
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue