mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-04 12:24:11 +01:00
948d6546af
All yaffs changes for library inclusion, arm compilation, and simposix integration.
30 lines
694 B
Makefile
30 lines
694 B
Makefile
#
|
|
# 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
|