[Buildroot] [PATCH] wirless-tools: install header files to staging dir

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Aug 17 10:34:00 UTC 2011


Hello,

Le Tue, 16 Aug 2011 13:31:07 +0200,
Daniel Mack <zonque at gmail.com> a écrit :

> diff --git a/package/wireless_tools/wireless_tools.mk b/package/wireless_tools/wireless_tools.mk
> index d8358ba..3e73b51 100644
> --- a/package/wireless_tools/wireless_tools.mk
> +++ b/package/wireless_tools/wireless_tools.mk
> @@ -36,6 +36,7 @@ endef
>  define WIRELESS_TOOLS_INSTALL_TARGET_CMDS
>  	$(MAKE) -C $(@D) PREFIX="$(TARGET_DIR)" $(WIRELESS_TOOLS_INSTALL_TARGETS)
>  	$(MAKE) -C $(@D) INSTALL_MAN="$(TARGET_DIR)/usr/share/man" install-man
> +	$(MAKE) -C $(@D) INSTALL_INC="$(STAGING_DIR)/usr/include/" install-hdr
>  endef

Hum, the installation of the headers to the STAGING_DIR is already done
if you enable BR2_PACKAGE_WIRELESS_TOOLS_LIB.

(And anyway, installing things to STAGING_DIR in
<pkg>_INSTALL_TARGET_CMDS is very wrong).

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list