From 186d858087e445956103d480443e44074fbe61a7 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sun, 3 Jul 2011 21:57:58 +0200 Subject: Embtk: extract default dl/ directory from env Signed-off-by: Abdoulaye Walsimou Gaye --- Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 75ad2ce..657aeb1 100644 --- a/Makefile +++ b/Makefile @@ -84,21 +84,26 @@ All: $(EMBTK_BUILD) xconfig: basic ifeq ($(CONFIG_EMBTK_DOTCONFIG),y) - $(Q)make -f scripts/Makefile.build obj=scripts/kconfig xconfig + $(Q)make -f scripts/Makefile.build obj=scripts/kconfig \ + EMBTK_DEFAULT_DL="$(EMBTK_ROOT)/dl/" xconfig else $(Q)if [ -e $(EMBTK_DOTCONFIG).old ]; then \ cp $(EMBTK_DOTCONFIG).old $(EMBTK_DOTCONFIG); \ - $(MAKE) -f scripts/Makefile.build obj=scripts/kconfig xconfig; \ + $(MAKE) -f scripts/Makefile.build obj=scripts/kconfig \ + EMBTK_DEFAULT_DL="$(EMBTK_ROOT)/dl/" xconfig; \ else \ - $(MAKE) -f scripts/Makefile.build obj=scripts/kconfig xconfig; \ + $(MAKE) -f scripts/Makefile.build obj=scripts/kconfig \ + EMBTK_DEFAULT_DL="$(EMBTK_ROOT)/dl/" xconfig; \ fi endif menuconfig: basic - $(Q)$(MAKE) -f scripts/Makefile.build obj=scripts/kconfig menuconfig + $(Q)$(MAKE) -f scripts/Makefile.build obj=scripts/kconfig \ + EMBTK_DEFAULT_DL="$(EMBTK_ROOT)/dl/" menuconfig randconfig: basic - $(Q)$(MAKE) -f scripts/Makefile.build obj=scripts/kconfig randconfig + $(Q)$(MAKE) -f scripts/Makefile.build obj=scripts/kconfig \ + EMBTK_DEFAULT_DL="$(EMBTK_ROOT)/dl/" randconfig basic: $(Q)$(MAKE) -f scripts/Makefile.build obj=scripts/basic -- cgit v1.2.3