]> code.ossystems Code Review - openembedded-core.git/commit
sanity.bbclass: improve the sanity check for PATH and BBPATH
authorShiqun Lin <Shiqun.Lin@windriver.com>
Wed, 7 Jan 2015 07:00:31 +0000 (15:00 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 May 2015 20:40:14 +0000 (21:40 +0100)
commitb6a23572b8f14e27d4341892b9069e7cac1e9c14
treedb1d1cc7932aebc33904aa176b772dfefd8d7acc
parentfb5f00ae63e0e3ae890254b4286f7160694bf7ee
sanity.bbclass: improve the sanity check for PATH and BBPATH

Build fails if "./" is in the PATH

To reproduce the issue:

  $ export PATH="./:$PATH"
  $ make -C build-tools elfutils

  Error: ./ld: unrecognized option '--sysroot=/'

Signed-off-by: Shiqun Lin <Shiqun.Lin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass