浏览代码

- if $(PKG)_SKIP_CONFIGURE is non-empty then ./configure is skipped

Bernhard Reutner-Fischer 18 年之前
父节点
当前提交
59390db4a6
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package/Makefile.autotools.in

+ 2 - 1
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)