From ab6e0b92aad480dd57431e915dd26aa0da5a4ea8 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 5 Nov 2013 11:22:36 +0100 Subject: Use double-quotes to make script work using dash (debian/ubuntu default) --- recipes-kernel/linux/linux-toradex-vf_git.bb | 2 +- recipes-kernel/linux/linux-toradex_git.bb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes-kernel') diff --git a/recipes-kernel/linux/linux-toradex-vf_git.bb b/recipes-kernel/linux/linux-toradex-vf_git.bb index 88a6be3..540c924 100644 --- a/recipes-kernel/linux/linux-toradex-vf_git.bb +++ b/recipes-kernel/linux/linux-toradex-vf_git.bb @@ -31,7 +31,7 @@ config_script () { do_configure_prepend () { #use the defconfig provided in the kernel source tree #assume its called ${MACHINE}_defconfig, but with '_' instead of '-' - DEFCONFIG=`echo ${MACHINE} | sed -e 's/\-/\_/g' -e 's/$/_defconfig/'` + DEFCONFIG="`echo ${MACHINE} | sed -e 's/\-/\_/g' -e 's/$/_defconfig/'`" oe_runmake $DEFCONFIG diff --git a/recipes-kernel/linux/linux-toradex_git.bb b/recipes-kernel/linux/linux-toradex_git.bb index 6648ac0..478047d 100644 --- a/recipes-kernel/linux/linux-toradex_git.bb +++ b/recipes-kernel/linux/linux-toradex_git.bb @@ -36,7 +36,7 @@ config_script () { do_configure_prepend () { #use the defconfig provided in the kernel source tree #assume its called ${MACHINE}_defconfig, but with '_' instead of '-' - DEFCONFIG=`echo ${MACHINE} | sed -e 's/\-/\_/g' -e 's/$/_defconfig/'` + DEFCONFIG="`echo ${MACHINE} | sed -e 's/\-/\_/g' -e 's/$/_defconfig/'`" oe_runmake $DEFCONFIG @@ -46,7 +46,7 @@ do_configure_prepend () { kernel_do_compile() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE - export CC=`echo "${KERNEL_CC}" | sed 's/-mfloat-abi=hard//g'` + 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}" @@ -55,7 +55,7 @@ kernel_do_compile() { do_compile_kernelmodules() { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE - export CC=`echo "${KERNEL_CC}" | sed 's/-mfloat-abi=hard//g'` + 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 -- cgit v1.2.3