zsh: Explicitly set EXTRA_OEMAKE as required

* This recipe currently relies on EXTRA_OEMAKE having been to set to
  "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make
  this explicit so that the default in bitbake.conf can be changed.
* Unfortunately the build doesn't fail, it just produces almost empty
  output and QA warning is shown:
  WARNING: zsh-5.0.5-r0 do_package: QA Issue: zsh: Files/directories
  were installed but not shipped in any package:
    /usr
  Please set FILES such that these items are packaged. Alternatively if
  they are unneeded, avoid installing them or delete them within
  do_install.
  zsh: 1 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2016-02-25 14:55:28 +01:00
parent a0ac4361af
commit 27bb27f878

View File

@ -30,6 +30,8 @@ EXTRA_OECONF = " \
zsh_cv_shared_environ=yes \
"
EXTRA_OEMAKE = "-e MAKEFLAGS="
ALTERNATIVE_${PN} = "sh"
ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
ALTERNATIVE_TARGET[sh] = "${base_bindir}/${BPN}"