[Buildroot] [PATCH] linux/linux.mk: use HOST_MAKE_ENV rather than TARGET_MAKE_ENV

Peter Korsgaard peter at korsgaard.com
Sat Mar 7 20:39:30 UTC 2020


>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:

 > While the kernel is built for the target, the build may need various host
 > libraries depending on config (and kernel version), so use HOST_MAKE_ENV
 > instead of TARGET_MAKE_ENV.

 > In particular, this ensures that our host-pkgconf will look for host
 > libraries and not target ones.

 > Fixes building scripts/dtc for Buildroot configurations enabling libyaml and
 > host-pkgconf for kernels after commit 067c650c45 (dtc: Use pkg-config to
 > locate libyaml).

 > With this enabled, we can drop the PKG_CONFIG_* variables for the
 > _NEEDS_HOST_LIBELF conditional, as those are included in HOST_MAKE_ENV.

 > Signed-off-by: Peter Korsgaard <peter at korsgaard.com>

Committed to 2019.02.x and 2019.11.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list