Thread (2 messages) flat view 2 messages, 2 authors, 2011-08-17

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

From: Thomas Petazzoni <hidden>
Date: 2011-08-17 10:34:00

Hello,

Le Tue, 16 Aug 2011 13:31:07 +0200,
Daniel Mack [off-list ref] a ?crit :
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help