diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 6d474402e9..7f2afffc75 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -310,7 +310,8 @@ else $(1)-install-staging: endif -$(1)-build: $(1)-configure $$($(2)_TARGET_BUILD) \ +$(1)-build: $(if $$($(2)_SKIP_CONFIGURE),$(1)-patch,$(1)-configure)\ + $$($(2)_TARGET_BUILD) \ $$($(2)_HOOK_POST_BUILD) $(1)-configure: $(1)-autoreconf $$($(2)_TARGET_CONFIGURE)