make: nicer gluon-tools dependencies
This commit is contained in:
parent
6c862525f7
commit
c66ffd1daf
14
Makefile
14
Makefile
@ -59,22 +59,18 @@ include $(GLUONDIR)/include/profiles.mk
|
|||||||
|
|
||||||
CheckExternal := test -d $(GLUON_OPENWRTDIR) || (echo 'You don'"'"'t seem to have obtained the external repositories needed by Gluon; please call `make update` first!'; false)
|
CheckExternal := test -d $(GLUON_OPENWRTDIR) || (echo 'You don'"'"'t seem to have obtained the external repositories needed by Gluon; please call `make update` first!'; false)
|
||||||
|
|
||||||
all: FORCE
|
gluon-tools: FORCE
|
||||||
@$(CheckExternal)
|
|
||||||
+@$(SUBMAKE) -C $(TOPDIR) prepare-tmpinfo OPENWRT_BUILD=0
|
+@$(SUBMAKE) -C $(TOPDIR) prepare-tmpinfo OPENWRT_BUILD=0
|
||||||
+@$(GLUONMAKE) gluon-tools GLUON_TOOLS=0
|
+@$(GLUONMAKE) gluon-tools GLUON_TOOLS=0
|
||||||
|
|
||||||
|
all: gluon-tools
|
||||||
+@$(GLUONMAKE) prepare
|
+@$(GLUONMAKE) prepare
|
||||||
+@$(GLUONMAKE) images
|
+@$(GLUONMAKE) images
|
||||||
|
|
||||||
download prepare images: FORCE
|
download prepare images: gluon-tools
|
||||||
@$(CheckExternal)
|
|
||||||
+@$(SUBMAKE) -C $(TOPDIR) prepare-tmpinfo OPENWRT_BUILD=0
|
|
||||||
+@$(GLUONMAKE) gluon-tools GLUON_TOOLS=0
|
|
||||||
+@$(GLUONMAKE) $@
|
+@$(GLUONMAKE) $@
|
||||||
|
|
||||||
manifest: FORCE
|
manifest: gluon-tools
|
||||||
@$(CheckExternal)
|
|
||||||
+@$(GLUONMAKE) gluon-tools GLUON_TOOLS=0
|
|
||||||
[ -n "$(GLUON_BRANCH)" ] || (echo 'Please set GLUON_BRANCH to create a manifest.'; false)
|
[ -n "$(GLUON_BRANCH)" ] || (echo 'Please set GLUON_BRANCH to create a manifest.'; false)
|
||||||
+@$(GLUONMAKE) $@
|
+@$(GLUONMAKE) $@
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user