aboutsummaryrefslogtreecommitdiff
path: root/makefiles/setup.mk
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-03 17:04:15 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-03 17:04:15 +0100
commitc2e2b3d52fa7bcfbbec110b5555d2c437657f118 (patch)
treeaa62454fb29b9539fce66e27c12e0ba283f0db37 /makefiles/setup.mk
parent924350a5de1a609e470618ef78212bf7b0044c33 (diff)
downloadpx4-firmware-c2e2b3d52fa7bcfbbec110b5555d2c437657f118.tar.gz
px4-firmware-c2e2b3d52fa7bcfbbec110b5555d2c437657f118.tar.bz2
px4-firmware-c2e2b3d52fa7bcfbbec110b5555d2c437657f118.zip
make param wrapper macros compatible for px4 and ros, needs cleanup
Diffstat (limited to 'makefiles/setup.mk')
-rw-r--r--makefiles/setup.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/makefiles/setup.mk b/makefiles/setup.mk
index 4bfa7a087..435c240bf 100644
--- a/makefiles/setup.mk
+++ b/makefiles/setup.mk
@@ -37,13 +37,14 @@
# Some useful paths.
#
# Note that in general we always keep directory paths with the separator
-# at the end, and join paths without explicit separators. This reduces
+# at the end, and join paths without explicit separators. This reduces
# the number of duplicate slashes we have lying around in paths,
# and is consistent with joining the results of $(dir) and $(notdir).
#
export PX4_INCLUDE_DIR = $(abspath $(PX4_BASE)/src/include)/
export PX4_MODULE_SRC = $(abspath $(PX4_BASE)/src)/
export PX4_LIB_DIR = $(abspath $(PX4_BASE)/src/lib)/
+export PX4_PLATFORMS_DIR = $(abspath $(PX4_BASE)/src/platforms)/
export PX4_MK_DIR = $(abspath $(PX4_BASE)/makefiles)/
export NUTTX_SRC = $(abspath $(PX4_BASE)/NuttX/nuttx)/
export MAVLINK_SRC = $(abspath $(PX4_BASE)/mavlink/include/mavlink/v1.0)/
@@ -61,7 +62,8 @@ export ARCHIVE_DIR = $(abspath $(PX4_BASE)/Archives)/
export INCLUDE_DIRS := $(PX4_MODULE_SRC) \
$(PX4_MODULE_SRC)/modules/ \
$(PX4_INCLUDE_DIR) \
- $(PX4_LIB_DIR)
+ $(PX4_LIB_DIR) \
+ $(PX4_PLATFORMS_DIR)
#
# Tools