X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_openvuplus_3.0;a=blobdiff_plain;f=Makefile;h=8a7374b32b03b5744fcb4fa4bcd299666869c0cf;hp=23c441e2cbb49c2d1afe39aebb52070f8a9035d7;hb=ae009e7e28ec4df53dfacd46f7afcc7835ad9b3e;hpb=62ae96b53c7532642f71cb8b39022a2f72779d9f diff --git a/Makefile b/Makefile index 23c441e..8a7374b 100644 --- a/Makefile +++ b/Makefile @@ -29,9 +29,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 ?= vuultimo +MACHINE ?= vusolose -MULTI_TEMPORARILY ?= YES +MULTI_TEMPORARILY ?= NO # Adjust according to the number CPU cores to use for parallel build. # Default: Number of processors in /proc/cpuinfo, if present, or 1. @@ -43,7 +43,7 @@ XSUM ?= md5sum BUILD_DIR = $(CURDIR)/build TOPDIR = $(BUILD_DIR)/$(MACHINE) -DL_DIR = $(CURDIR)/resource/sources +DL_DIR = $(CURDIR)/sources ifeq ($(MULTI_TEMPORARILY), YES) SSTATE_DIR = $(TOPDIR)/sstate-cache @@ -56,10 +56,13 @@ DEPDIR = $(BUILD_DIR)/.deps endif BBLAYERS ?= \ - $(CURDIR)/meta-bsp/$(MACHINE) \ - $(CURDIR)/meta-bsp/common \ + $(CURDIR)/meta-bsp \ $(CURDIR)/meta-openvuplus \ $(CURDIR)/meta-openembedded/meta-oe \ + $(CURDIR)/meta-openembedded/meta-networking \ + $(CURDIR)/meta-openembedded/meta-multimedia \ + $(CURDIR)/meta-openembedded/meta-filesystems \ + $(CURDIR)/meta-openembedded/meta-python \ $(CURDIR)/openembedded-core/meta CONFFILES = \ @@ -86,6 +89,7 @@ $(BBLAYERS): [ -d $@ ] || $(MAKE) $(MFLAGS) update init: $(BBLAYERS) $(CONFFILES) + @if [ ! -e $(CURDIR)/sources ]; then mkdir -p $(CURDIR)/sources; fi help: @echo "Your options:" @@ -216,7 +220,7 @@ $(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)' >> $@ -# @echo 'INHERIT+="rm_work"' >> $@ + @echo 'INHERIT += "rm_work"' >> $@ BBLAYERS_CONF_HASH := $(call hash, \ 'BBLAYERS_CONF_VERSION = "0"' \