summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChang.H.S <jhs@dev3>2012-12-11 09:44:10 (GMT)
committerChang.H.S <jhs@dev3>2012-12-11 10:06:50 (GMT)
commitef71268253638d2ad0a89f38487de5f513d03d4a (patch)
treec9ee485325435eee08a31ff81695c0564423682d /Makefile
parentb0de74fd4b02d99d652f7f08619987bb0abf7d5d (diff)
fix DL_DIR.
fix bitbake.env location.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
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 <target>"
@echo " [Replace <target> 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}' >> $@