1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-05 13:24:11 +01:00
LibrePilot/flight/pios/common/libraries/yaffs2/library.mk

30 lines
694 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_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
# Compiler options
#
CDEFS += -DCONFIG_YAFFS_DIRECT
CDEFS += -DCONFIG_YAFFS_YAFFS2
CDEFS += -DCONFIG_YAFFS_DEFINES_TYPES
CDEFS += -DCONFIG_YAFFS_PROVIDE_DEFS
CDEFS += -DCONFIG_YAFFSFS_PROVIDE_VALUES
CDEFS += -DCONFIG_YAFFS_OP
#ARCHFLAGS += -DARCH_POSIX
#
# Yaffs2 device library source and includes
#
SRC += $(sort $(wildcard $(YAFFS2_DIR)*.c))
EXTRAINCDIRS += $(YAFFS2_DIR)/inc