]> code.ossystems Code Review - openembedded-core.git/commit
autotools: Give in and force CONFIG_SHELL to bash
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 17:37:16 +0000 (17:37 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jan 2020 11:10:35 +0000 (11:10 +0000)
commit33b1e27c29ed05da783f814cf9c3035675087ecc
tree4efad6db99ae9aba5f129e1bd67a38e6070a9535
parent1aa123f176f166e8eeaa09dc9b9fda206a92ae87
autotools: Give in and force CONFIG_SHELL to bash

At present, CONFIG_SHELL becomes /bin/sh if its bash and /bin/bash if not. This
isn't deterministic and leads to changes in ptest packages which include Makefiles.

At first glance you'd think we'd hardcode to /bin/sh since most system shells are sane.

Sadly the dash vs. bash leads to quoting differences in configure.

The bash default is probably the safest option since configure tries to find bash
and this is what most systems would end up using.

The end result is a more consisent build environment.

[YOCTO #13752]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass