X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_openvuplus_3.0;a=blobdiff_plain;f=Makefile;h=0f5f4be2887721f8a15d98f61c0b40fa04695c88;hp=8a7374b32b03b5744fcb4fa4bcd299666869c0cf;hb=937dfbd3f7455fbb9c5a6b19f450a4db52602071;hpb=ae009e7e28ec4df53dfacd46f7afcc7835ad9b3e diff --git a/Makefile b/Makefile index 8a7374b..0f5f4be 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,8 @@ # THE SOFTWARE. # +SHELL=/bin/bash + # Note: You can override all variables by storing them # in an external file called "make.conf". -include conf/make.conf @@ -29,9 +31,9 @@ # This only sets the default value. All platforms now use a shared build # directory. Run "MACHINE=vuultimo bitbake vuplus-image" to build an image # for the vuultimo, if it is not the default. -MACHINE ?= vusolose +MACHINE ?= vusolo4k -MULTI_TEMPORARILY ?= NO +MULTI_TEMPORARILY ?= YES # Adjust according to the number CPU cores to use for parallel build. # Default: Number of processors in /proc/cpuinfo, if present, or 1. @@ -220,6 +222,9 @@ $(TOPDIR)/conf/local.conf: $(DEPDIR)/.local.conf.$(MACHINE).$(LOCAL_CONF_HASH) @echo 'USER_CLASSES = "buildstats"' >> $@ @echo 'include $(DISTRO_INCLUDE_CONF)' >> $@ @echo 'include $(MACHINE_INCLUDE_CONF)' >> $@ + @if [ "$(MULTI_TEMPORARILY)" == "YES" ] ; then \ + echo "DEPLOY_DIR_IMAGE = \"\$${DEPLOY_DIR}/images\"" >> $@; \ + fi @echo 'INHERIT += "rm_work"' >> $@ BBLAYERS_CONF_HASH := $(call hash, \