wok-next rev 21359

gpxe: removed gcc-49
author Hans-G?nter Theisgen
date Sun Apr 12 07:22:35 2020 +0100 (2020-04-12)
parents bea4bdd15d60
children f99c22685a74
files gpxe/receipt
line diff
     1.1 --- a/gpxe/receipt	Sun Apr 12 07:08:52 2020 +0100
     1.2 +++ b/gpxe/receipt	Sun Apr 12 07:22:35 2020 +0100
     1.3 @@ -7,27 +7,31 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  LICENSE="GPL2"
     1.6  WEB_SITE="http://etherboot.org/wiki/"
     1.7 -HOST_ARCH="i486"
     1.8  
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WGET_URL="http://kernel.org/pub/software/utils/boot/$PACKAGE/Old/$TARBALL"
    1.11  
    1.12 -BUILD_DEPENDS="perl gcc49"
    1.13 +BUILD_DEPENDS="perl"
    1.14  SPLIT="$PACKAGE-pxe"
    1.15  
    1.16 -compile_rules() {
    1.17 +HOST_ARCH="i486"
    1.18 +
    1.19 +compile_rules()
    1.20 +{
    1.21  	cd $src/src
    1.22  	sed -i 's/ = ++ns->cur_rx %/++; ns->cur_rx %=/' drivers/net/ns83820.c
    1.23  	sed -i 's/ = (++tp->cur_rx) %/++; tp->cur_rx %=/' drivers/net/tulip.c
    1.24  	sed -i 's/? s : ___strtok//' core/stringextra.c
    1.25  	sed -i '/timer2_running/d' include/timer.h
    1.26 -	make CC=gcc-49 EXTRA_CFLAGS="-fno-strict-aliasing \
    1.27 +
    1.28 +	make EXTRA_CFLAGS="-fno-strict-aliasing \
    1.29  -Wno-error=unused-but-set-variable -Wno-error=implicit-function-declaration \
    1.30  -Wno-error=array-bounds" bin/gpxe.lkrn bin/undionly.kpxe 2>&1 | \
    1.31  	grep -v housekeeping: | grep -v blib.list
    1.32  }
    1.33  
    1.34 -genpkg_rules() {
    1.35 +genpkg_rules()
    1.36 +{
    1.37  	case $PACKAGE in
    1.38  		gpxe)
    1.39  			mkdir -p $fs/boot