summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorngkaho1234 <ngkaho1234@gmail.com>2015-10-11 16:48:19 +0800
committerngkaho1234 <ngkaho1234@gmail.com>2015-10-11 16:48:19 +0800
commitbba14d471c3c15ed98726df5e05f9621aec110fc (patch)
treecdec8292493e5faeb9be513013fca7fdf3db6fd9 /CMakeLists.txt
parent0d2e2caf7147e0f360a4b49c485953a7b84eeb3c (diff)
Tune CMakeFile default preprocessor macros on PC.
Remove ENOATTR, use ENODATA instead
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 31399a3..f4c95d4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,6 +39,10 @@ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL msp430g2210)
else()
#Generic example target
set(BLOCKDEV_TYPE linux)
+ add_definitions(-DCONFIG_HAVE_OWN_OFLAGS=0)
+ add_definitions(-DCONFIG_HAVE_OWN_ERRNO=0)
+ add_definitions(-DCONFIG_HAVE_OWN_ASSERT=0)
+ add_definitions(-DCONFIG_BLOCK_DEV_CACHE_SIZE=16)
add_subdirectory(fs_test)
add_subdirectory(demos/generic)
endif()