diff options
author | David Sidrane <david_s5@nscdg.com> | 2014-12-25 16:37:01 -1000 |
---|---|---|
committer | David Sidrane <david_s5@nscdg.com> | 2015-03-05 09:00:07 -1000 |
commit | c884c2f41d5f82fd25e155873c59e78de7a02fa8 (patch) | |
tree | 3f495e636c0c1b2393d6fdd10760aaa39588c23a | |
parent | 8163199b9fa0be623af480a1b0b48b50e26e4f48 (diff) | |
download | px4-firmware-c884c2f41d5f82fd25e155873c59e78de7a02fa8.tar.gz px4-firmware-c884c2f41d5f82fd25e155873c59e78de7a02fa8.tar.bz2 px4-firmware-c884c2f41d5f82fd25e155873c59e78de7a02fa8.zip |
Fixed typos
-rw-r--r-- | Makefile | 12 | ||||
-rw-r--r-- | nuttx-patches/math.patch | 6 |
2 files changed, 9 insertions, 9 deletions
@@ -190,23 +190,23 @@ NUTTX_PATCHED = $(NUTTX_SRC).patchedpx4common .PHONY: nuttxpatches nuttxpatches: - $(Q) if [ ! -f $(NUTTX_PATCHED) ]; then \ + $(Q) -if [ ! -f $(NUTTX_PATCHED) ]; then \ for patch in $(NUTTX_PATCHES); \ do \ - $(PATCH) -p0 -N < $$patch; \ + $(PATCH) -p0 -N -R < $$patch >/dev/null; \ done \ fi $(Q) $(TOUCH) $(NUTTX_PATCHED) .PHONY: cleannuttxpatches cleannuttxpatches: - $(Q) if [ ! -f $(NUTTX_PATCHED) ]; then \ + $(Q) -if [ -f $(NUTTX_PATCHED) ]; then \ for patch in $(NUTTX_PATCHES); \ do \ - $(PATCH) -p0 -N -R < $$patch; \ + $(PATCH) -p0 -N < $$patch >/dev/null; \ done \ fi - $(Q) $(TOUCH) $(NUTTX_PATCHED) + $(Q) $(REMOVE) $(NUTTX_PATCHED) # # The user can run the NuttX 'menuconfig' tool for a single board configuration with @@ -301,7 +301,7 @@ clean: $(Q) $(REMOVE) $(IMAGE_DIR)*.px4 .PHONY: distclean -distclean: clean cleannuttxpatches +distclean: cleannuttxpatches clean @echo > /dev/null $(Q) $(REMOVE) $(ARCHIVE_DIR)*.export > /dev/null $(Q) $(MAKE) -C $(NUTTX_SRC) -r $(MQUIET) distclean > /dev/null diff --git a/nuttx-patches/math.patch b/nuttx-patches/math.patch index 6b60e2cae..a93b2daf6 100644 --- a/nuttx-patches/math.patch +++ b/nuttx-patches/math.patch @@ -1,6 +1,6 @@ -diff -ruN NuttX/nuttx/arch/arm/include/m.math,h /tmp/NuttX/nuttx/arch/arm/include/m.math,h ---- NuttX/nuttx/arch/arm/include/m.math,h 2014-12-25 06:02:40.565856919 -1000 -+++ NuttX/nuttx/arch/arm/include/m.math,h 1969-12-31 14:00:00.000000000 -1000 +diff -ruN NuttX/nuttx/arch/arm/include/math.h NuttX/nuttx/arch/arm/include/math.h +--- NuttX/nuttx/arch/arm/include/math.h 2014-12-25 06:02:40.565856919 -1000 ++++ NuttX/nuttx/arch/arm/include/math.h 1969-12-31 14:00:00.000000000 -1000 @@ -1,585 +0,0 @@ -#ifndef _MATH_H_ - |