summaryrefslogtreecommitdiffstats
path: root/package/libusb/libusb.mk
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-27 12:01:27 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-27 12:01:27 +0000
commit74d518dc2a18569c7e3f5766b6d9dda8e941ea7e (patch)
treef2e9a088b688392afb9d77eaeb93b1bf1585a575 /package/libusb/libusb.mk
parentde18b661cf7849f0d16f11205fc15c5f2e03b2f8 (diff)
downloadbuildroot-novena-74d518dc2a18569c7e3f5766b6d9dda8e941ea7e.tar.gz
buildroot-novena-74d518dc2a18569c7e3f5766b6d9dda8e941ea7e.zip
- add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
Diffstat (limited to 'package/libusb/libusb.mk')
-rw-r--r--package/libusb/libusb.mk10
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) \