From bff710311c7650a54c9f3ffa803dc73d9111f172 Mon Sep 17 00:00:00 2001 From: acoul Date: Tue, 7 Dec 2010 15:19:55 +0000 Subject: [PATCH] net/usbip: fix compile issue under SDK, refresh patches git-svn-id: svn://svn.openwrt.org/openwrt/packages@24306 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/usbip/Makefile | 7 ++++++- net/usbip/patches/000-upstream_svn_152.patch | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/net/usbip/Makefile b/net/usbip/Makefile index 1af6e7ed8..818ee4f9f 100644 --- a/net/usbip/Makefile +++ b/net/usbip/Makefile @@ -93,9 +93,14 @@ LIBTOOL_PATHS:=./src CFLAGS+="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libintl/include/ +TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libintl/lib/ +TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/lib/libiconv/include/ +TARGET_LDFLAGS+=-L$(STAGING_DIR)/usr/lib/libiconv/lib/ + define Build/Prepare $(call Build/Prepare/Default) - (cd $(PKG_BUILD_DIR)/src; ./autogen.sh ) + (cd $(PKG_BUILD_DIR)/src; autoreconf -v --install || exit 1 ) endef define Build/Compile/kmod diff --git a/net/usbip/patches/000-upstream_svn_152.patch b/net/usbip/patches/000-upstream_svn_152.patch index 115b32a92..e7135a66c 100644 --- a/net/usbip/patches/000-upstream_svn_152.patch +++ b/net/usbip/patches/000-upstream_svn_152.patch @@ -79,8 +79,6 @@ --- a/drivers/head/usbip_common.c +++ b/drivers/head/usbip_common.c - #define DRIVER_DESC "usbip common driver" - @@ -55,10 +55,7 @@ static ssize_t show_flag(struct device * static ssize_t store_flag(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) -- 2.11.0