summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2015-12-07 18:18:19 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2015-12-15 15:48:41 +0100
commit7fb0c91280b278ab7fd1601673049a302a24d676 (patch)
treebe674fc502d019c5da314c6a01df12e41414ee88
parent41ebb67cd9e4284a7394d382a8a4e5c0eb3bb783 (diff)
linux-toradex: update to latest revision
Update to latest revision. While at it remove the module specific override of SRCREV and PR and set the git branch with its own variable. While at it use 4 spaces to indent code as customary in recipes. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--recipes-kernel/linux/linux-toradex_git.bb40
1 files changed, 17 insertions, 23 deletions
diff --git a/recipes-kernel/linux/linux-toradex_git.bb b/recipes-kernel/linux/linux-toradex_git.bb
index f4a4c41..8975e46 100644
--- a/recipes-kernel/linux/linux-toradex_git.bb
+++ b/recipes-kernel/linux/linux-toradex_git.bb
@@ -4,19 +4,13 @@ require recipes-kernel/linux/linux-toradex.inc
LINUX_VERSION ?= "3.1.10"
LOCALVERSION = "-${PR}"
-SRCREV_apalis-t30 = "d8eb1dde264c7b55d25209de26a08471e2f566f6"
-PR_apalis-t30 = "V2.5b2"
-SRCREV_colibri-pxa = "d8eb1dde264c7b55d25209de26a08471e2f566f6"
-PR_colibri-pxa = "V2.5b2"
-SRCREV_colibri-t20 = "d8eb1dde264c7b55d25209de26a08471e2f566f6"
-PR_colibri-t20 = "V2.5b2"
-SRCREV_colibri-t30 = "d8eb1dde264c7b55d25209de26a08471e2f566f6"
-PR_colibri-t30 = "V2.5b2"
+SRCREV = "c8ead507f45de63a125b40096f0d59cb0aaa6780"
+PR = "V2.5b3"
PV = "${LINUX_VERSION}+gitr${SRCREV}"
S = "${WORKDIR}/git"
-SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=tegra"
-
+SRCBRANCH = "tegra"
+SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=${SRCBRANCH}"
COMPATIBLE_MACHINE = "(apalis-t30|colibri-pxa|colibri-t20|colibri-t30)"
@@ -51,20 +45,20 @@ do_configure_prepend () {
}
kernel_do_compile() {
- unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
- export CC="`echo "${KERNEL_CC}" | sed 's/-mfloat-abi=hard//g'`"
- oe_runmake ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_ALT_IMAGETYPE} LD="${KERNEL_LD}"
- if test "${KERNEL_IMAGETYPE_FOR_MAKE}.gz" = "${KERNEL_IMAGETYPE}"; then
- gzip -9c < "${KERNEL_IMAGETYPE_FOR_MAKE}" > "${KERNEL_OUTPUT}"
- fi
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
+ export CC="`echo "${KERNEL_CC}" | sed 's/-mfloat-abi=hard//g'`"
+ oe_runmake ${KERNEL_IMAGETYPE_FOR_MAKE} ${KERNEL_ALT_IMAGETYPE} LD="${KERNEL_LD}"
+ if test "${KERNEL_IMAGETYPE_FOR_MAKE}.gz" = "${KERNEL_IMAGETYPE}"; then
+ gzip -9c < "${KERNEL_IMAGETYPE_FOR_MAKE}" > "${KERNEL_OUTPUT}"
+ fi
}
do_compile_kernelmodules() {
- unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
- export CC="`echo "${KERNEL_CC}" | sed 's/-mfloat-abi=hard//g'`"
- if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
- oe_runmake ${PARALLEL_MAKE} modules LD="${KERNEL_LD}"
- else
- bbnote "no modules to compile"
- fi
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
+ export CC="`echo "${KERNEL_CC}" | sed 's/-mfloat-abi=hard//g'`"
+ if (grep -q -i -e '^CONFIG_MODULES=y$' .config); then
+ oe_runmake ${PARALLEL_MAKE} modules LD="${KERNEL_LD}"
+ else
+ bbnote "no modules to compile"
+ fi
}