From cbe6dd77fef8b82dbddee586e34d47e24c23ebdc Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 23 Jan 2011 11:06:57 -0600 Subject: [PATCH] Makefile: Remove openwrt and unslung from "unqualified" targets. I.E. "make update" will not just update SlugOS and Optware stuff, avoiding enormous and generally unnecessary downloads. Those still working with openwrt can use the specific targets: update-openwrt. --- Makefile | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 7a4d423..cb2b5ef 100644 --- a/Makefile +++ b/Makefile @@ -15,44 +15,42 @@ BITBAKE_VERSION = 1.10.2 all: update build .PHONY: prefetch -prefetch: prefetch-unslung prefetch-slugos prefetch-unslung prefetch-optware +prefetch: prefetch-slugos prefetch-optware .PHONY: build build: - [ ! -e unslung ] || ${MAKE} unslung [ ! -e slugos ] || ${MAKE} slugosbe slugosle [ ! -e optware ] || ${MAKE} optware - [ ! -e openwrt ] || ${MAKE} openwrt .PHONY: setup ifneq ($(HOST_MACHINE),armeb) -setup: setup-common setup-bitbake setup-openembedded setup-unslung \ - setup-slugos setup-optware setup-openwrt +setup: setup-common setup-bitbake setup-openembedded \ + setup-slugos setup-optware else setup: setup-common setup-optware endif .PHONY: setup-developer -setup-developer: setup-common setup-bitbake setup-openembedded setup-unslung-developer setup-optware-developer setup-openwrt-developer +setup-developer: setup-common setup-bitbake setup-openembedded setup-optware-developer .PHONY: update ifneq ($(HOST_MACHINE),armeb) -update: update-common update-bitbake update-openembedded update-unslung update-optware update-openwrt +update: update-common update-bitbake update-openembedded update-optware else update: update-common update-optware endif .PHONY: status -status: status-common status-bitbake status-openembedded status-unslung status-optware status-openwrt +status: status-common status-bitbake status-openembedded status-optware .PHONY: clobber -clobber: clobber-unslung clobber-slugos \ - clobber-optware clobber-openwrt +clobber: clobber-slugos \ + clobber-optware .PHONY: distclean distclean: distclean-common distclean-bitbake distclean-openembedded \ - distclean-unslung distclean-slugos \ - distclean-optware distclean-releases distclean-openwrt + distclean-slugos \ + distclean-optware distclean-releases .PHONY: prefetch-unslung prefetch-unslung: unslung/.configured -- 2.11.4.GIT