net/usbip: fix compile issue under SDK, refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@24306 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acoul 2010-12-07 15:19:55 +00:00
parent ff88a0ab5b
commit bff710311c
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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)