Ensure tslib uses config.* from buildroot
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Sat, 5 Jul 2008 04:30:05 +0000 (04:30 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Sat, 5 Jul 2008 04:30:05 +0000 (04:30 -0000)
package/tslib/tslib.mk

index 8e309d9c6c0d18e5e6555a81353a64989e97648a..04e4cf665e145fe02041806f6936dc79e09ea6c0 100644 (file)
@@ -20,8 +20,9 @@ $(TSLIB_DIR)/.patched: $(DL_DIR)/$(TSLIB_SOURCE)
        touch $(TSLIB_DIR)/.patched
 
 $(TSLIB_DIR)/.configured: $(TSLIB_DIR)/.patched
-       (cd $(TSLIB_DIR); rm -rf config.cache; \
-       ./autogen.sh; \
+       (cd $(TSLIB_DIR); rm -rf config.cache; ./autogen.sh)
+       $(CONFIG_UPDATE) $(TSLIB_DIR)
+       (cd $(TSLIB_DIR) && \
        $(TARGET_CONFIGURE_OPTS) \
        CFLAGS="$(TARGET_CFLAGS) " \
        ./configure \