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:
parent
ff88a0ab5b
commit
bff710311c
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user