adm8668: build gzip compressed uImage for testing
[lede-git/.git] / toolchain / gcc / final / Makefile
index dc884ab9c101c996fe6a5b7a3388de73afc17e9d..b0fe20023b608c183d2d60dd500276796d0f926d 100644 (file)
@@ -3,6 +3,7 @@ GCC_VARIANT:=final
 include ../common.mk
 
 GCC_CONFIGURE += \
+       --with-headers=$(TOOLCHAIN_DIR)/include \
        --enable-languages=$(TARGET_LANGUAGES) \
        --enable-shared \
        --enable-threads \
@@ -70,6 +71,7 @@ define Host/Install
                done; \
        );
        $(if $(CONFIG_EXTRA_TARGET_ARCH),$(call SetupExtraArch))
+       $(SCRIPT_DIR)/patch-specs.sh "$(TOOLCHAIN_DIR)"
 endef
 
 $(eval $(call HostBuild))