NFC: build rfal with only with nfc app
This commit is contained in:
parent
ee18198b4d
commit
c124471d44
@ -35,6 +35,7 @@ C_SOURCES += $(FATFS_DIR)/ff_gen_drv.c
|
|||||||
C_SOURCES += $(FATFS_DIR)/diskio.c
|
C_SOURCES += $(FATFS_DIR)/diskio.c
|
||||||
C_SOURCES += $(FATFS_DIR)/option/unicode.c
|
C_SOURCES += $(FATFS_DIR)/option/unicode.c
|
||||||
|
|
||||||
|
ifeq ($(APP_NFC), 1)
|
||||||
ST25RFAL002_DIR = $(LIB_DIR)/ST25RFAL002
|
ST25RFAL002_DIR = $(LIB_DIR)/ST25RFAL002
|
||||||
CFLAGS += -I$(ST25RFAL002_DIR)
|
CFLAGS += -I$(ST25RFAL002_DIR)
|
||||||
CFLAGS += -I$(ST25RFAL002_DIR)/include
|
CFLAGS += -I$(ST25RFAL002_DIR)/include
|
||||||
@ -42,3 +43,4 @@ CFLAGS += -I$(ST25RFAL002_DIR)/source/st25r3916
|
|||||||
C_SOURCES += $(wildcard $(ST25RFAL002_DIR)/*.c)
|
C_SOURCES += $(wildcard $(ST25RFAL002_DIR)/*.c)
|
||||||
C_SOURCES += $(wildcard $(ST25RFAL002_DIR)/source/*.c)
|
C_SOURCES += $(wildcard $(ST25RFAL002_DIR)/source/*.c)
|
||||||
C_SOURCES += $(wildcard $(ST25RFAL002_DIR)/source/st25r3916/*.c)
|
C_SOURCES += $(wildcard $(ST25RFAL002_DIR)/source/st25r3916/*.c)
|
||||||
|
endif
|
Loading…
Reference in New Issue
Block a user