# 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
# 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 ?= vuuno4k
MULTI_TEMPORARILY ?= YES
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
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 = \
[ -d $@ ] || $(MAKE) $(MFLAGS) update
init: $(BBLAYERS) $(CONFFILES)
+ @if [ ! -e $(CURDIR)/sources ]; then mkdir -p $(CURDIR)/sources; fi
help:
@echo "Your options:"
@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, \