Revert "make: update to 4.3"

This reverts commit f1d98a1c3f.

The new version of make seems to break building u-boot on armv5tel.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2021-01-26 11:15:04 +00:00
parent 53f04366ed
commit 85f5656aca
3 changed files with 84 additions and 4 deletions

View File

@@ -24,14 +24,14 @@
include Config
VER = 4.3
VER = 4.2.1
THISAPP = make-$(VER)
DL_FILE = $(THISAPP).tar.gz
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
PROG = make
PAK_VER = 5
PAK_VER = 4
DEPS =
@@ -55,7 +55,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = fc7a67ea86ace13195b0bce683fd4469
$(DL_FILE)_MD5 = 15b012617e7c44c0ed482721629577ac
install : $(TARGET)
@@ -88,6 +88,8 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -p1 < $(DIR_SRC)/src/patches/make-4.2.1-glob-build-fix.patch
cd $(DIR_APP) && patch -p1 < $(DIR_SRC)/src/patches/make-4.2.1-glob-SEGV.patch
cd $(DIR_APP) && autoreconf -vfi
cd $(DIR_APP) && ./configure --prefix=$(PREFIX) --disable-nls
cd $(DIR_APP) && make $(MAKETUNING)