[Buildroot] [PATCH v1 1/9] package/acpica: Add host configuration to the tool

Erico Nunes nunes.erico at gmail.com
Fri Aug 26 10:50:22 UTC 2016


Hello,

On Thu, Aug 25, 2016 at 4:04 PM, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> +define HOST_ACPICA_BUILD_CMDS
> +       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)                         \
> +               HARDWARE_NAME=$(BR2_ARCH) HOST=_LINUX CC="$(HOSTCC)"    \
> +               all
> +endef
> +
> +define HOST_ACPICA_INSTALL_CMDS
> +       $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)                         \
> +               HARDWARE_NAME=$(BR2_ARCH) DESTDIR="$(HOST_DIR)"         \
> +               INSTALLFLAGS=-m755 install
> +endef

HARDWARE_NAME should probably not be set to BR2_ARCH for the host
version of the package, as it contains the target architecture. Even
though it is a rather useless variable today (as pointed out by Thomas
in github https://github.com/acpica/acpica/pull/152), it makes even
less sense here.

Erico



More information about the buildroot mailing list