elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL cortex-m4)
#...
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL bf518)
- add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
#...
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL avrxmega7)
- add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
#...
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL msp430g2210)
add_definitions(-DCONFIG_DEBUG_PRINTF=0)
add_definitions(-DCONFIG_DEBUG_ASSERT=0)
- add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=1)
#...
else()
#Generic example target
set(BLOCKDEV_TYPE linux)
- add_definitions(-DCONFIG_EXTENT_FULL=1)
add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=0)
add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
add_definitions(-DCONFIG_HAVE_OWN_ASSERT=0)
/**@brief Include open flags from ext4_errno or standard library.*/
#ifndef CONFIG_HAVE_OWN_OFLAGS
-#define CONFIG_HAVE_OWN_OFLAGS 0
+#define CONFIG_HAVE_OWN_OFLAGS 1
#endif
/**@brief Use full extent implemrntation*/
#define CONFIG_EXTENT_FULL 1
#endif
-
-
#endif /* EXT4_CONFIG_H_ */
/**