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