diff options
| author | Rod Whitby <rod@whitby.id.au> | 2005-08-07 06:33:04 +0000 |
|---|---|---|
| committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-07 06:33:04 +0000 |
| commit | af90a141207f3faae55a08d8baed1abd4a8320e2 (patch) | |
| tree | 53d70fe7a61789c7e49fa530cde4aacb58018f3f /common | |
| parent | 300ed72988df7da578ee92fe9eeeedd5ed2addfb (diff) | |
Added the top-level prefetch target, and added BITBAKE variable to openembedded.mk to allow options to be added.
Diffstat (limited to 'common')
| -rw-r--r-- | common/openembedded.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/openembedded.mk b/common/openembedded.mk index c23f206122..c4b5d564fe 100644 --- a/common/openembedded.mk +++ b/common/openembedded.mk @@ -15,16 +15,21 @@ include conf/auto.conf BUILD_DIRS = downloads REQUIRED_DIRS = bitbake openembedded FIRMWARE_DEPS = create-topdir $(BUILD_DIRS) $(REQUIRED_DIRS) +BITBAKE = bitbake # The default rule is to build the firmware in an unprotected environment. firmware: $(FIRMWARE_DEPS) - . ./setup-env; exec bitbake $(DISTRO)-packages + . ./setup-env; exec ${BITBAKE} $(DISTRO)-packages # This rule clobbers the environment (note that ccache uses '$HOME' by # default, so the cache will end up there). firmware-safe: env -i HOME="$${HOME}" PATH="$${PATH}" $(MAKE) firmware +# The default rule is to build the firmware in an unprotected environment. +prefetch: $(FIRMWARE_DEPS) + . ./setup-env; exec ${BITBAKE} -cfetch $(DISTRO)-packages + # topdir.conf is re-created automatically if the directory is # moved - this will cause a full bitbake reparse .PHONY: create-topdir |
