* [Buildroot] [PATCH] wirless-tools: install header files to staging dir
@ 2011-08-16 11:31 Daniel Mack
2011-08-17 10:34 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Mack @ 2011-08-16 11:31 UTC (permalink / raw)
To: buildroot
Signed-off-by: Daniel Mack <zonque@gmail.com>
---
package/wireless_tools/wireless_tools.mk | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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
define WIRELESS_TOOLS_UNINSTALL_TARGET_CMDS
--
1.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] wirless-tools: install header files to staging dir
2011-08-16 11:31 [Buildroot] [PATCH] wirless-tools: install header files to staging dir Daniel Mack
@ 2011-08-17 10:34 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2011-08-17 10:34 UTC (permalink / raw)
To: buildroot
Hello,
Le Tue, 16 Aug 2011 13:31:07 +0200,
Daniel Mack <zonque@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-17 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-16 11:31 [Buildroot] [PATCH] wirless-tools: install header files to staging dir Daniel Mack
2011-08-17 10:34 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox