summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Kuten <ivan.kuten@promwad.com>2007-11-09 09:30:08 +0000
committerIvan Kuten <ivan.kuten@promwad.com>2007-11-09 09:30:08 +0000
commitfc9ba2d74d1b67aec74fa9dad897d7e25b67e34d (patch)
tree65a8349afd573ffb12c5bdcaee448b65fc0d8be0
parentf84517a3838a2d828b38997329d6953dfc92519f (diff)
downloadbuildroot-novena-fc9ba2d74d1b67aec74fa9dad897d7e25b67e34d.tar.gz
buildroot-novena-fc9ba2d74d1b67aec74fa9dad897d7e25b67e34d.zip
fix libusb autoconf scripts for armeb
-rw-r--r--package/libusb/libusb.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index 8efda1399..b4a2f4b7a 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -23,7 +23,7 @@ $(DL_DIR)/$(LIBUSB_SOURCE): $(LIBUSB_PATCH)
libusb-source: $(DL_DIR)/$(LIBUSB_SOURCE) $(LIBUSB_PATCH)
-libusb-unpacked: $(LIBUSB_DIR)/.unpacked
+libusb-unpacked: host-automake host-autoconf $(LIBUSB_DIR)/.unpacked
$(LIBUSB_DIR)/.unpacked: $(DL_DIR)/$(LIBUSB_SOURCE)
$(LIBUSB_CAT) $(DL_DIR)/$(LIBUSB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
ifneq ($(LIBUSB_PATCH_FILE),)
@@ -32,6 +32,8 @@ endif
toolchain/patch-kernel.sh $(LIBUSB_DIR) package/libusb/ libusb-$(LIBUSB_VERSION)\*.patch*
$(SED) 's,^all:.*,all:,g' $(LIBUSB_DIR)/tests/Makefile.in
$(SED) 's,^install:.*,install:,g' $(LIBUSB_DIR)/tests/Makefile.in
+ $(CONFIG_UPDATE) $(LIBUSB_DIR)
+ cd $(LIBUSB_DIR) && $(AUTORECONF)
touch $@
$(LIBUSB_DIR)/.configured: $(LIBUSB_DIR)/.unpacked