Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / flight / pios / posix / libraries / yaffs2 / yaffs_impl.mk
blobeb06d873ba8d63abc2341f2139a282c75bb764ec
2 # Rules to add yaffs2 to the PiOS target
5 # Note that the PIOS target-specific makefile will detect that YAFFS2_DIR
6 # has been defined and add in the target-specific pieces separately.
11 # Directory containing this makefile
13 YAFFS2_SIMPOSIX_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
15 # Compiler options
17 CDEFS += -DCONFIG_YAFFS_DIRECT
18 CDEFS += -DCONFIG_YAFFS_DEFINES_TYPES
19 CDEFS += -DCONFIG_YAFFS_PROVIDE_DEFS
20 CDEFS += -DCONFIG_YAFFSFS_PROVIDE_VALUES
21 #ARCHFLAGS += -DARCH_POSIX
24 # Yaffs2 device library source and includes
26 SRC += $(sort $(wildcard $(YAFFS2_SIMPOSIX_DIR)*.c))
27 #EXTRAINCDIRS += $(YAFFS2_DIR)/inc