diff options
Diffstat (limited to 'package/libusb')
-rw-r--r-- | package/libusb/libusb.mk | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index 18120c001..42e33bd8a 100644 --- a/package/libusb/libusb.mk +++ b/package/libusb/libusb.mk @@ -10,12 +10,6 @@ LIBUSB_DIR:=$(BUILD_DIR)/libusb-$(LIBUSB_VER) LIBUSB_CAT:=$(ZCAT) LIBUSB_BINARY:=usr/lib/libusb.so -ifeq ($(BR2_ENDIAN),"BIG") -LIBUSB_BE:=yes -else -LIBUSB_BE:=no -endif - $(DL_DIR)/$(LIBUSB_SOURCE): $(WGET) -P $(DL_DIR) $(LIBUSB_SITE)/$(LIBUSB_SOURCE) @@ -29,10 +23,8 @@ $(LIBUSB_DIR)/.unpacked: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_DIR)/.configured: $(LIBUSB_DIR)/.unpacked (cd $(LIBUSB_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ + $(TARGET_CONFIGURE_ARGS) \ ac_cv_header_regex_h=no \ - ac_cv_c_bigendian=$(LIBUSB_BE) \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ |