From 74d518dc2a18569c7e3f5766b6d9dda8e941ea7e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 27 Jun 2007 12:01:27 +0000 Subject: - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS - use TARGET_CONFIGURE_ARGS where appropriate. --- package/libusb/libusb.mk | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'package/libusb') 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) \ -- cgit v1.2.3