diff options
author | David Sidrane <david_s5@nscdg.com> | 2014-12-25 06:34:23 -1000 |
---|---|---|
committer | David Sidrane <david_s5@nscdg.com> | 2015-04-07 07:12:02 -1000 |
commit | a95c79a7ca4e43c3a1a2ceddd341e129b42e6f04 (patch) | |
tree | ccfeba2d65c744196d32a6933f1c7234fa43bcbd /makefiles | |
parent | 84a90653dd9df4562c61ea5081a17fab2ca5e463 (diff) | |
download | px4-firmware-a95c79a7ca4e43c3a1a2ceddd341e129b42e6f04.tar.gz px4-firmware-a95c79a7ca4e43c3a1a2ceddd341e129b42e6f04.tar.bz2 px4-firmware-a95c79a7ca4e43c3a1a2ceddd341e129b42e6f04.zip |
Added the ability to apply PX4 specific patches to Nuttx
At the moment this entails adding NuttX/nuttx/arch/arm/include/math.h
Diffstat (limited to 'makefiles')
-rw-r--r-- | makefiles/setup.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/makefiles/setup.mk b/makefiles/setup.mk index 351b9f1b7..07890d927 100644 --- a/makefiles/setup.mk +++ b/makefiles/setup.mk @@ -55,6 +55,7 @@ export ROMFS_SRC = $(abspath $(PX4_BASE)/ROMFS)/ export IMAGE_DIR = $(abspath $(PX4_BASE)/Images)/ export BUILD_DIR = $(abspath $(PX4_BASE)/Build)/ export ARCHIVE_DIR = $(abspath $(PX4_BASE)/Archives)/ +export PX4_NUTTX_PATCH_DIR = $(abspath $(PX4_BASE)/nuttx-patches)/ # # Default include paths @@ -68,21 +69,22 @@ export INCLUDE_DIRS := $(PX4_MODULE_SRC) \ # # Tools # -export MKFW = $(PX4_BASE)/Tools/px_mkfw.py +export MKFW = $(PX4_BASE)/Tools/px_mkfw.py export UPLOADER = $(PX4_BASE)/Tools/px_uploader.py -export COPY = cp +export COPY = cp export COPYDIR = cp -Rf export REMOVE = rm -f export RMDIR = rm -rf export GENROMFS = genromfs export TOUCH = touch export MKDIR = mkdir -export FIND = find -export ECHO = echo +export FIND = find +export ECHO = echo export UNZIP_CMD = unzip export PYTHON = python export OPENOCD = openocd export GREP = grep +export PATCH = patch # # Host-specific paths, hacks and fixups |