* [Buildroot] [PATCH] iw: bump to version 3.10
@ 2013-05-02 14:23 Gustavo Zacarias
2013-05-02 15:20 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2013-05-02 14:23 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/iw/iw.mk | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/package/iw/iw.mk b/package/iw/iw.mk
index 54c42d7..6d7ab16 100644
--- a/package/iw/iw.mk
+++ b/package/iw/iw.mk
@@ -4,28 +4,22 @@
#
#############################################################
-IW_VERSION = 3.8
+IW_VERSION = 3.10
IW_SOURCE = iw-$(IW_VERSION).tar.bz2
IW_SITE = $(BR2_KERNEL_MIRROR)/software/network/iw
IW_LICENSE = iw license
IW_LICENSE_FILES = COPYING
IW_DEPENDENCIES = host-pkgconf libnl
-IW_CONFIG = $(IW_DIR)/.config
+IW_MAKE_OPT = CC=$(TARGET_CC) LD=$(TARGET_LD) LDFLAGS=$(TARGET_LDFLAGS)
IW_MAKE_ENV = PKG_CONFIG="$(HOST_DIR)/usr/bin/pkg-config" \
GIT_DIR=$(IW_DIR)
ifeq ($(BR2_PREFER_STATIC_LIB),y)
# libnl needs pthread/m, so we need to explicitly with them when static
# these need to added AFTER libnl, so we have to override LIBS completely
-IW_MAKE_OPT = LIBS='-lnl-genl-3 -lnl-3 -lpthread -lm'
+IW_MAKE_OPT += LIBS='-lnl-genl-3 -lnl-3 -lpthread -lm'
endif
-define IW_CONFIGURE_CMDS
- echo "CC = $(TARGET_CC)" >$(IW_CONFIG)
- echo "CFLAGS = $(TARGET_CFLAGS)" >>$(IW_CONFIG)
- echo "LDFLAGS = $(TARGET_LDFLAGS)" >>$(IW_CONFIG)
-endef
-
define IW_BUILD_CMDS
$(IW_MAKE_ENV) $(MAKE) $(IW_MAKE_OPT) -C $(@D)
endef
--
1.8.1.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] iw: bump to version 3.10
2013-05-02 14:23 [Buildroot] [PATCH] iw: bump to version 3.10 Gustavo Zacarias
@ 2013-05-02 15:20 ` Thomas Petazzoni
2013-05-02 15:21 ` Gustavo Zacarias
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2013-05-02 15:20 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Thu, 2 May 2013 11:23:58 -0300, Gustavo Zacarias wrote:
> +IW_MAKE_OPT = CC=$(TARGET_CC) LD=$(TARGET_LD) LDFLAGS=$(TARGET_LDFLAGS)
Missing quotes, will break when ccache is enabled. You should probably
be using $(TARGET_CONFIGURE_OPTS) instead.
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] 3+ messages in thread
end of thread, other threads:[~2013-05-02 15:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 14:23 [Buildroot] [PATCH] iw: bump to version 3.10 Gustavo Zacarias
2013-05-02 15:20 ` Thomas Petazzoni
2013-05-02 15:21 ` Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox