summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorStefan Müller-Klieser <s.mueller-klieser@phytec.de>2015-11-11 11:06:21 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2015-11-13 10:50:52 +0100
commit30ce783311b0d75f47504ccd818aed08dc596787 (patch)
tree9a4a05655221a918e0c4bcd9755a6c797515f127 /recipes-bsp
parent98e6a997e31bec11385db903d66c908936da1019 (diff)
downloadmeta-phytec-30ce783311b0d75f47504ccd818aed08dc596787.tar.bz2
meta-phytec-30ce783311b0d75f47504ccd818aed08dc596787.zip
barebox: Separate build directory from source
The new KBUILD handling triggers bugs in the barebox if we use S = B. Anyway we are better of separting both. We might want to have a shared source for the barebox in future. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/barebox/barebox.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-bsp/barebox/barebox.inc b/recipes-bsp/barebox/barebox.inc
index 253e242..8c66018 100644
--- a/recipes-bsp/barebox/barebox.inc
+++ b/recipes-bsp/barebox/barebox.inc
@@ -29,6 +29,9 @@ inherit kconfig-prepare-configure
INC_PR = "r6"
PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+B = "${WORKDIR}/build"
+
# verbose build 0/1
VERBOSE_BUILD ?= "0"
EXTRA_OEMAKE = 'TARGETCC="${CC}" V=${VERBOSE_BUILD} CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'