Fix freetype-2.2.1 build in AVR32, possibly other platforms too
authorThiago A. Corrêa <thiago.correa@gmail.com>
Fri, 4 Jul 2008 02:57:13 +0000 (02:57 -0000)
committerThiago A. Corrêa <thiago.correa@gmail.com>
Fri, 4 Jul 2008 02:57:13 +0000 (02:57 -0000)
package/freetype/freetype.mk

index 7595f158fe26be29decb741cffc5eb20107e9f6c..6cbef9cc120e01b51c4c6852f6a44a4e5dae7941 100644 (file)
@@ -18,10 +18,11 @@ $(FREETYPE_DIR)/.unpacked: $(DL_DIR)/$(FREETYPE_SOURCE)
        $(FREETYPE_CAT) $(DL_DIR)/$(FREETYPE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
        toolchain/patch-kernel.sh $(FREETYPE_DIR) package/freetype/ \*.patch
        $(CONFIG_UPDATE) $(FREETYPE_DIR)
+       $(CONFIG_UPDATE) $(FREETYPE_DIR)/builds/unix
        touch $@
 
 $(FREETYPE_DIR)/.configured: $(FREETYPE_DIR)/.unpacked
-       (cd $(FREETYPE_DIR) && \
+       (cd $(FREETYPE_DIR);  rm -rf config.cache; \
                $(TARGET_CONFIGURE_OPTS) \
                $(TARGET_CONFIGURE_ARGS) \
                ./configure \