summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-04-06 03:05:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-10 23:00:43 +0100
commit2752d71e8df8237165d338c06c82f9463a0f64b2 (patch)
treec0bb1d9ae320fa127e39968b7248eae471de12fe /meta/recipes-kernel/kmod
parent607bc5958816624731ed2258dd4cdaef7d20d5df (diff)
downloadpoky-2752d71e8df8237165d338c06c82f9463a0f64b2.tar.gz
kmod: set ac_cv_path_DOLT_BASH to /usr/bin/env bash
The shebang's length is usually 128 as defined in /usr/include/linux/binfmts.h: #define BINPRM_BUF_SIZE 128 So there would be errors when /path/to/hosttools/bash is longer than 128: /bin/sh: ./doltcompile: [snip]: bad interpreter: No such file or directory Set ac_cv_path_DOLT_BASH to "/usr/bin/env bash" to fix the problem. (From OE-Core rev: fd2758ed26e8ed6d76c66af0275c4aafbec758ac) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kmod')
-rw-r--r--meta/recipes-kernel/kmod/kmod.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod.inc b/meta/recipes-kernel/kmod/kmod.inc
index cfa409dbb3..ba80fc57a3 100644
--- a/meta/recipes-kernel/kmod/kmod.inc
+++ b/meta/recipes-kernel/kmod/kmod.inc
@@ -30,6 +30,8 @@ S = "${WORKDIR}/git"
30EXTRA_AUTORECONF += "--install --symlink" 30EXTRA_AUTORECONF += "--install --symlink"
31EXTRA_OECONF +=" --enable-tools --with-zlib" 31EXTRA_OECONF +=" --enable-tools --with-zlib"
32 32
33CACHED_CONFIGUREVARS += "ac_cv_path_DOLT_BASH='/usr/bin/env bash'"
34
33PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" 35PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
34PACKAGECONFIG[logging] = " --enable-logging,--disable-logging" 36PACKAGECONFIG[logging] = " --enable-logging,--disable-logging"
35PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native" 37PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"