From: Chang.H.S Date: Tue, 11 Dec 2012 09:44:10 +0000 (+0900) Subject: fix DL_DIR. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_openvuplus;a=commitdiff_plain;h=ef71268253638d2ad0a89f38487de5f513d03d4a fix DL_DIR. fix bitbake.env location. --- diff --git a/.gitignore b/.gitignore index 47a8ef8..13a193a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,7 @@ !/meta-bsp/ !/meta-openvuplus/ /openembedded-core/ -/sources/ +/resource/ *.swp bblayers.conf /tmp/ diff --git a/Makefile b/Makefile index c2c02b5..9b537e1 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ XSUM ?= md5sum BUILD_DIR = $(CURDIR)/build TOPDIR = $(BUILD_DIR)/$(MACHINE) -DL_DIR = $(CURDIR)/sources +DL_DIR = $(CURDIR)/resource/sources ifeq ($(MULTI_TEMPORARILY), YES) SSTATE_DIR = $(TOPDIR)/sstate-cache @@ -63,7 +63,7 @@ BBLAYERS ?= \ $(CURDIR)/openembedded-core/meta CONFFILES = \ - bitbake.env \ + $(TOPDIR)/bitbake.env \ $(TOPDIR)/conf/bblayers.conf \ $(TOPDIR)/conf/local.conf @@ -108,8 +108,8 @@ help: @echo " $$ $(MAKE) download" @echo @echo " * Set up the environment to build recipes manually:" + @echo " $$ cd $(BUILD_DIR)" @echo " $$ source bitbake.env" - @echo " $$ cd build/$(MACHINE)" @echo " $$ bitbake " @echo " [Replace with a recipe name, e.g. vuplus-image or enigma2]" @echo @@ -146,11 +146,11 @@ distclean: clean image: init @echo '[*] Building image for $(MACHINE)' - @. $(CURDIR)/bitbake.env && cd $(TOPDIR) && bitbake vuplus-image + @. $(TOPDIR)/bitbake.env && cd $(TOPDIR) && bitbake vuplus-image download: init @echo '[*] Downloading sources' - @. $(CURDIR)/bitbake.env && cd $(TOPDIR) && bitbake -cfetchall -k vuplus-image + @. $(TOPDIR)/bitbake.env && cd $(TOPDIR) && bitbake -cfetchall -k vuplus-image update: @echo '[*] Updating Git repositories...' @@ -177,7 +177,7 @@ BITBAKE_ENV_HASH := $(call hash, \ 'CURDIR = "$(CURDIR)"' \ ) -bitbake.env: $(DEPDIR)/.bitbake.env.$(BITBAKE_ENV_HASH) +$(TOPDIR)/bitbake.env: $(DEPDIR)/.bitbake.env.$(BITBAKE_ENV_HASH) @echo '[*] Generating $@' @echo '# Automatically generated file. Do not edit!' > $@ @echo 'export PATH=$(CURDIR)/openembedded-core/scripts:$(CURDIR)/bitbake/bin:$${PATH}' >> $@ diff --git a/sources b/sources deleted file mode 120000 index 4617085..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -/opt/hdd2/projects/openpli-oe-core/sources/ \ No newline at end of file