wok-next diff ipxe/receipt @ rev 20859

Update ALSA stack (1.1.6)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 27 13:35:43 2018 +0300 (2018-06-27)
parents 4396aed7eb01
children e7a485521d6a
line diff
     1.1 --- a/ipxe/receipt	Wed Mar 07 19:43:44 2018 +0200
     1.2 +++ b/ipxe/receipt	Wed Jun 27 13:35:43 2018 +0300
     1.3 @@ -30,34 +30,43 @@
     1.4  	    -e 's|//\(#define.*REBOOT_CMD\)|\1|' config/general.h
     1.5  	cp $stuff/lkrnprefix.S arch/i386/prefix
     1.6  
     1.7 -	make all || return 1
     1.8 +	# refer to http://ipxe.org/appnote/buildtargets
     1.9 +	case $ARCH in
    1.10 +		i?86)   platform='bin-i386-pcbios';;
    1.11 +		x86_64) platform='bin-x86_64-pcbios';;
    1.12 +	esac
    1.13 +
    1.14 +	make $platform || return 1
    1.15  	separator
    1.16  
    1.17 -	make bin/undionly.pxe    bin/undionly.kpxe bin/undionly.kkpxe \
    1.18 -	     bin/undionly.kkkpxe bin/ipxe.pxe      bin/ipxe.kpxe \
    1.19 -	     bin/ipxe.kkpxe      bin/ipxe.kkkpxe   bin/ipxe.nbi \
    1.20 -	     bin/ipxe.lkrn \
    1.21 +	make $platform/undionly.pxe    $platform/undionly.kpxe \
    1.22 +	     $platform/undionly.kkpxe  $platform/undionly.kkkpxe \
    1.23 +	     $platform/ipxe.pxe        $platform/ipxe.kpxe \
    1.24 +	     $platform/ipxe.kkpxe      $platform/ipxe.kkkpxe \
    1.25 +	     $platform/ipxe.nbi        $platform/ipxe.lkrn \
    1.26  	     EMBED=$stuff/ipxe.cmd || return 1
    1.27  
    1.28 -	mkdir $install/boot
    1.29 -	cp -a $src/src/bin/ipxe.lkrn $install/boot/ipxe
    1.30 +	mkdir -p $install/boot/
    1.31 +	cp -a $src/src/$platform/ipxe.lkrn $install/boot/ipxe
    1.32  	OFS=$((0x156))
    1.33  	unix2dos <<EOT | dd bs=1 of=$install/boot/ipxe conv=notrunc \
    1.34  		seek=$OFS count=$((0x1F0-$OFS))
    1.35  $SHORT_DESC
    1.36  EOT
    1.37 +
    1.38 +	mkdir -p $install/usr/share/boot/
    1.39 +	cp -a $src/src/$platform/ipxe.kpxe     $install/usr/share/boot/ipxe.pxe
    1.40 +	cp -a $src/src/$platform/undionly.kpxe $install/usr/share/boot/undi.pxe
    1.41  }
    1.42  
    1.43  genpkg_rules() {
    1.44  	case $PACKAGE in
    1.45  		ipxe)
    1.46 -			copy @std
    1.47 +			copy ipxe
    1.48  			;;
    1.49  		ipxe-pxe)
    1.50 +			copy *.pxe
    1.51  			CAT="system-tools|for pxe server"
    1.52 -			mkdir -p $fs/usr/share/boot
    1.53 -			cp -a $src/src/bin/ipxe.kpxe     $fs/usr/share/boot/ipxe.pxe
    1.54 -			cp -a $src/src/bin/undionly.kpxe $fs/usr/share/boot/undi.pxe
    1.55  			;;
    1.56  	esac
    1.57  }