summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rwxr-xr-xbuild-root/bootstrap.sh2
-rw-r--r--plugins/build-data/packages/sample-plugin.mk (renamed from build-data/packages/sample-plugin.mk)0
3 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2dd38fddc0d..d3088d24161 100644
--- a/Makefile
+++ b/Makefile
@@ -106,7 +106,7 @@ ifeq ($(OS_ID),ubuntu)
fi ; \
exit 0
endif
- @echo "SOURCE_PATH = $(WS_ROOT)" > $(BR)/build-config.mk
+ @echo "SOURCE_PATH = $(WS_ROOT) $(WS_ROOT)/plugins"> $(BR)/build-config.mk
@echo "#!/bin/bash\n" > $(BR)/path_setup
@echo 'export PATH=$(BR)/tools/ccache-bin:$$PATH' >> $(BR)/path_setup
@echo 'export PATH=$(BR)/tools/bin:$$PATH' >> $(BR)/path_setup
@@ -162,6 +162,12 @@ wipe-release: $(BR)/.bootstrap.ok
rebuild-release: wipe-release build-release
+plugins: $(BR)/.bootstrap.ok
+ $(call make,$(PLATFORM)_debug,sample-plugin-install)
+
+plugins-release: $(BR)/.bootstrap.ok
+ $(call make,$(PLATFORM),sample-plugin-install)
+
STARTUP_DIR ?= $(PWD)
ifeq ("$(wildcard $(STARTUP_CONF))","")
define run
diff --git a/build-root/bootstrap.sh b/build-root/bootstrap.sh
index f83734fd4af..2419b6ae254 100755
--- a/build-root/bootstrap.sh
+++ b/build-root/bootstrap.sh
@@ -12,7 +12,7 @@ ADD_TO_PATH="$build_root/tools/ccache-bin:$build_root/tools/bin"
# Construct build-config.mk
cd $build_root
-echo SOURCE_PATH = $wsroot > build-config.mk
+echo SOURCE_PATH = $wsroot $wsroot/plugins/ > build-config.mk
echo
echo Saving PATH settings in `pwd`/path_setup
echo Source this file later, as needed
diff --git a/build-data/packages/sample-plugin.mk b/plugins/build-data/packages/sample-plugin.mk
index 047a26f551c..047a26f551c 100644
--- a/build-data/packages/sample-plugin.mk
+++ b/plugins/build-data/packages/sample-plugin.mk