On 12/4/10 1:40 PM, openwrt-comm...@openwrt.org wrote:
Author: jow
Date: 2010-12-04 22:40:05 +0100 (Sat, 04 Dec 2010)
New Revision: 24249

Modified:
    packages/net/dsl-qos-queue/Makefile
Log:
[packages] dsl-qos-queue: use shared libipq (#8355)


Modified: packages/net/dsl-qos-queue/Makefile
===================================================================
--- packages/net/dsl-qos-queue/Makefile 2010-12-04 21:14:51 UTC (rev 24248)
+++ packages/net/dsl-qos-queue/Makefile 2010-12-04 21:40:05 UTC (rev 24249)
@@ -9,7 +9,7 @@

  PKG_NAME:=dsl_qos_queue
  PKG_VERSION:=0.9.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3

  PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  PKG_SOURCE_URL:=http://www.sonicspike.net/software/download/
@@ -22,7 +22,7 @@
  define Package/dsl-qos-queue
    SECTION:=net
    CATEGORY:=Network
-  DEPENDS:=+iptables +kmod-ipt-queue +iptables-mod-ipopt @!LINUX_2_6_25 
@!LINUX_2_6_26 @!LINUX_2_6_27 @!LINUX_2_6_28
+  DEPENDS:=+iptables +kmod-ipt-queue +iptables-mod-ipopt +libipq 
@!LINUX_2_6_25 @!LINUX_2_6_26 @!LINUX_2_6_27 @!LINUX_2_6_28
    TITLE:=ADSL/ATM Bandwith management
    URL:=http://www.sonicspike.net/software/
  endef
@@ -34,7 +34,7 @@
        $(call Build/Compile/Default, \
                CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libipq 
$(TARGET_CPPFLAGS)" \

I've long wondered about this...  Why don't we require gcc 4.3 or later, and 
just use:

--isysroot=$(STAGING_DIR)/usr/include

and then be able to use -I%/libipq instead?

(Or whatever the required incantation is... I forget.)


                LDFLAGS="$(TARGET_LDFLAGS)" \
-               LIBIPQ=$(STAGING_DIR)/usr/lib/libipq.a \
+               LIBIPQ="-lipq" \
                all \
        )
  endef

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to