summaryrefslogtreecommitdiff
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
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>
-rw-r--r--.gitignore4
-rw-r--r--core/mk/buildsystem.mk4
-rw-r--r--dl/.gitignore4
3 files changed, 6 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 0978b94..4d82110 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,10 @@
.fakeroot*
.ccache
build/
+dl/*.bz2
+dl/*.gz
+dl/*.patch
+dl/*.xz
generated/
host-tools-*
tools-*
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
diff --git a/dl/.gitignore b/dl/.gitignore
deleted file mode 100644
index c42d6c2..0000000
--- a/dl/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-*.bz2
-*.gz
-*.patch
-*.xz