aboutsummaryrefslogtreecommitdiff
path: root/ROMFS
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2013-01-21 08:16:03 +1100
committerAndrew Tridgell <tridge@samba.org>2013-01-21 08:23:34 +1100
commit09ddf7f1b3e79bd37227520610847fbcf94187ce (patch)
tree432dbf1f7f7c2ef56656938b1031c222624f96ff /ROMFS
parent48e497e4069a2f8773d90f2d1887967a81e487d8 (diff)
downloadpx4-firmware-09ddf7f1b3e79bd37227520610847fbcf94187ce.tar.gz
px4-firmware-09ddf7f1b3e79bd37227520610847fbcf94187ce.tar.bz2
px4-firmware-09ddf7f1b3e79bd37227520610847fbcf94187ce.zip
ROMFS: add support for EXTERNAL_SCRIPTS
this adds support for an EXTERNAL_SCRIPTS directory, to complement the EXTERNAL_APPS option. It allows external apps to install scripts in ROMFS
Diffstat (limited to 'ROMFS')
-rw-r--r--ROMFS/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ROMFS/Makefile b/ROMFS/Makefile
index ec4221b93..3b024de06 100644
--- a/ROMFS/Makefile
+++ b/ROMFS/Makefile
@@ -35,6 +35,10 @@ ROMFS_FSSPEC := $(SRCROOT)/scripts/rcS~init.d/rcS \
$(SRCROOT)/mixers/FMU_octo_+.mix~mixers/FMU_octo_+.mix \
$(SRCROOT)/logging/logconv.m~logging/logconv.m
+# the EXTERNAL_SCRIPTS variable is used to add out of tree scripts
+# to ROMFS.
+ROMFS_FSSPEC += $(EXTERNAL_SCRIPTS)
+
#
# Add the PX4IO firmware to the spec if someone has dropped it into the
# source directory, or otherwise specified its location.