From: Hauke Mehrtens Date: Sun, 14 Oct 2018 13:25:37 +0000 (+0200) Subject: tools: patch: make patch build depend on automake X-Git-Tag: v18.06.2~84 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=1adb3b28a9c1b3a8302a467eaa4cb07a4c5becd4;p=openwrt%2Fstaging%2Fpepe2k.git tools: patch: make patch build depend on automake The Makefile.am changed and now patch wants to use automake to regenerate the Makefile.in. Make sure automake was build before we build patch. This fixes build problem seen by the build bots. Fixes: 4797dddfde6 ("patch: apply upstream cve fixes") Signed-off-by: Hauke Mehrtens (backported from 07e8c217cb79a19c59fcb34ea6de39aa91a625b6) --- diff --git a/tools/Makefile b/tools/Makefile index d2b5daf18c..6766d7df6e 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -66,6 +66,7 @@ $(curdir)/bc/compile := $(curdir)/bison/compile $(curdir)/findutils/compile := $(curdir)/bison/compile $(curdir)/gengetopt/compile := $(curdir)/libtool/compile $(curdir)/patchelf/compile := $(curdir)/libtool/compile +$(curdir)/patch/compile := $(curdir)/automake/compile $(curdir)/dosfstools/compile := $(curdir)/autoconf/compile $(curdir)/automake/compile $(curdir)/libressl/compile := $(curdir)/pkg-config/compile $(curdir)/mkimage/compile += $(curdir)/libressl/compile