1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00
LibrePilot/flight/pios/posix/libraries/yaffs2/yaffs_impl.mk

28 lines
649 B
Makefile
Raw Normal View History

#
# Rules to add yaffs2 to the PiOS target
#
#
# Note that the PIOS target-specific makefile will detect that YAFFS2_DIR
# has been defined and add in the target-specific pieces separately.
#
#
# Directory containing this makefile
#
YAFFS2_SIMPOSIX_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
# Compiler options
#
CDEFS += -DCONFIG_YAFFS_DIRECT
CDEFS += -DCONFIG_YAFFS_DEFINES_TYPES
CDEFS += -DCONFIG_YAFFS_PROVIDE_DEFS
CDEFS += -DCONFIG_YAFFSFS_PROVIDE_VALUES
#ARCHFLAGS += -DARCH_POSIX
#
# Yaffs2 device library source and includes
#
SRC += $(sort $(wildcard $(YAFFS2_SIMPOSIX_DIR)*.c))
#EXTRAINCDIRS += $(YAFFS2_DIR)/inc