summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorStefan Müller-Klieser <s.mueller-klieser@phytec.de>2015-11-10 10:37:50 +0100
committerStefan Müller-Klieser <s.mueller-klieser@phytec.de>2015-11-13 10:50:52 +0100
commit98e6a997e31bec11385db903d66c908936da1019 (patch)
tree135ee2caea0d39421c3865ea52efe6789bc4b3d9 /recipes-bsp
parent5cee635099d2c6bea6f36dd7c98a32a58c581378 (diff)
downloadmeta-phytec-98e6a997e31bec11385db903d66c908936da1019.tar.bz2
meta-phytec-98e6a997e31bec11385db903d66c908936da1019.zip
layer: Refactor DEFCONFIG variable handling
DEFAULT_DEFCONFIG variables are now called INTREE_DEFCONFIG and are handled by the kconfig class. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/barebox/barebox-ipl.inc7
-rw-r--r--recipes-bsp/barebox/barebox.inc7
2 files changed, 0 insertions, 14 deletions
diff --git a/recipes-bsp/barebox/barebox-ipl.inc b/recipes-bsp/barebox/barebox-ipl.inc
index 229cd13..ea3b9b4 100644
--- a/recipes-bsp/barebox/barebox-ipl.inc
+++ b/recipes-bsp/barebox/barebox-ipl.inc
@@ -15,19 +15,12 @@ BAREBOX_IPL_BIN ?= "barebox.bin"
BAREBOX_IPL_IMAGE_BASE_NAME ?= "IPL-${MACHINE}-${PKGV}-${PKGR}-${DATETIME}"
BAREBOX_IPL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME"
BAREBOX_IPL_BIN_SYMLINK ?= "IPL"
-BAREBOX_IPL_DEFAULT_DEFCONFIG ?= ""
# dont use the environment prepare function from barebox
python do_prepare_env() {
return
}
-do_default_defconfig () {
- bbnote "generating .config for target ${BAREBOX_IPL_DEFAULT_DEFCONFIG}"
- unset CFLAGS LDFLAGS
- oe_runmake ${BAREBOX_IPL_DEFAULT_DEFCONFIG}
-}
-
do_install () {
bbnote "Installing barebox-ipl image on target rootfs"
install -d ${D}${base_bootdir}
diff --git a/recipes-bsp/barebox/barebox.inc b/recipes-bsp/barebox/barebox.inc
index 413d832..253e242 100644
--- a/recipes-bsp/barebox/barebox.inc
+++ b/recipes-bsp/barebox/barebox.inc
@@ -45,7 +45,6 @@ BAREBOX_BIN ?= "barebox.bin"
BAREBOX_IMAGE_BASE_NAME ?= "barebox-${MACHINE}-${PKGV}-${PKGR}-${DATETIME}"
BAREBOX_IMAGE_BASE_NAME[vardepsexclude] += "DATETIME"
BAREBOX_BIN_SYMLINK ?= "barebox.bin"
-BAREBOX_DEFAULT_DEFCONFIG ?= ""
# recipe private variables
BAREBOX_COMMON_ENVDIR = "${WORKDIR}/commonenv"
@@ -99,12 +98,6 @@ python do_prepare_env() {
}
addtask prepare_env after do_patch before do_configure
-do_default_defconfig () {
- bbnote "generating .config for target ${BAREBOX_DEFAULT_DEFCONFIG}"
- unset CFLAGS LDFLAGS
- oe_runmake ${BAREBOX_DEFAULT_DEFCONFIG}
-}
-
do_compile () {
unset CFLAGS LDFLAGS
oe_runmake all