From 134ddd411cb931ffd2a9cbb8d161ae84cc8fd98e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 16 Feb 2017 18:36:20 +0100 Subject: [PATCH] build: add list-targets make target `make list-targets` can be used to discover the available targets in scripts. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c56ce92b..0108e0a0 100644 --- a/Makefile +++ b/Makefile @@ -70,6 +70,10 @@ CheckTarget := [ '$(LEDE_TARGET)' ] \ CheckExternal := test -d lede || (echo 'You don'"'"'t seem to have obtained the external repositories needed by Gluon; please call `make update` first!'; false) +list-targets: FORCE + @$(foreach target,$(GLUON_TARGETS),echo '$(target)';) + + GLUON_DEFAULT_PACKAGES := -odhcpd -ppp -ppp-mod-pppoe -wpad-mini gluon-core ip6tables hostapd-mini GLUON_PACKAGES :=