Browse Source

Allow PN531_PATH to be overriden from .config

Jouni Malinen 16 years ago
parent
commit
9cf548c082
2 changed files with 2 additions and 2 deletions
  1. 1 1
      hostapd/Makefile
  2. 1 1
      wpa_supplicant/Makefile

+ 1 - 1
hostapd/Makefile

@@ -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

+ 1 - 1
wpa_supplicant/Makefile

@@ -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