summaryrefslogtreecommitdiff
path: root/core/mk/buildsystem.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-03-23 14:54:41 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-03-23 14:56:47 +0100
commitac32f4d26defbd0ce5b1390872c1d5475fe138c4 (patch)
treef540c6b0d8d60ccc6542365d74ce477532c9a29f /core/mk/buildsystem.mk
parente280d92cfbebf33790be05676d2ab33e519ca5d0 (diff)
downloadembtoolkit-ac32f4d26defbd0ce5b1390872c1d5475fe138c4.tar.gz
embtoolkit-ac32f4d26defbd0ce5b1390872c1d5475fe138c4.tar.bz2
embtoolkit-ac32f4d26defbd0ce5b1390872c1d5475fe138c4.tar.xz
Build system: remove dl/ directory and create at build time
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/mk/buildsystem.mk')
-rw-r--r--core/mk/buildsystem.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/mk/buildsystem.mk b/core/mk/buildsystem.mk
index 8bada7e..bde8953 100644
--- a/core/mk/buildsystem.mk
+++ b/core/mk/buildsystem.mk
@@ -1,6 +1,6 @@
################################################################################
# Embtoolkit
-# Copyright(C) 2009-2013 Abdoulaye Walsimou GAYE.
+# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -25,7 +25,6 @@
TOOLS_BUILD := $(EMBTK_ROOT)/build/tools_build-$(GNU_TARGET)-$(EMBTK_MCU_FLAG)
PACKAGES_BUILD := $(EMBTK_ROOT)/build/packages_build-$(GNU_TARGET)-$(EMBTK_MCU_FLAG)
-DOWNLOAD_DIR := $(patsubst %/,%,$(subst ",,$(strip $(CONFIG_EMBTK_DOWNLOAD_DIR))))
J := -j$(or $(CONFIG_EMBTK_NUMBER_BUILD_JOBS),1)
#
@@ -165,6 +164,7 @@ define __embtk_mk_inittoolsdirs
endef
define __embtk_mk_initpkgdirs
+ mkdir -p $(embtk_dldir)
mkdir -p $(EMBTK_ROOT)/build
mkdir -p $(embtk_pkgb)
endef