wok-current rev 19898

linld/tazboot: fix set_kernel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 07 21:50:50 2017 +0200 (2017-04-07)
parents ad4116239ed1
children 9e8f9b54bd83
files acme/receipt linld/stuff/src/TAZBOOT.CPP xa/receipt
line diff
     1.1 --- a/acme/receipt	Fri Apr 07 15:13:34 2017 +0200
     1.2 +++ b/acme/receipt	Fri Apr 07 21:50:50 2017 +0200
     1.3 @@ -9,6 +9,7 @@
     1.4  TARBALL="$PACKAGE${VERSION/./}src.tar.bz2"
     1.5  WEB_SITE="http://www.esw-heim.tu-clausthal.de/~marco/smorbrod/acme"
     1.6  WGET_URL="$WEB_SITE/current/$TARBALL"
     1.7 +TAGS="cross assembler 6502"
     1.8  
     1.9  DEPENDS=""
    1.10  BUILD_DEPENDS=""
     2.1 --- a/linld/stuff/src/TAZBOOT.CPP	Fri Apr 07 15:13:34 2017 +0200
     2.2 +++ b/linld/stuff/src/TAZBOOT.CPP	Fri Apr 07 21:50:50 2017 +0200
     2.3 @@ -190,6 +190,7 @@
     2.4  			s++;
     2.5  	set_kernel:
     2.6  			s += 6;
     2.7 +	set_kernelz:
     2.8  			kernel_name = s;
     2.9  		}
    2.10  		else if (strhead(s,"image=") == 0) {
    2.11 @@ -226,7 +227,7 @@
    2.12  			goto next;
    2.13  		default:
    2.14  		if(i == 1 && fileattr(s) != -1) {
    2.15 -			goto set_kernel;
    2.16 +			goto set_kernelz;
    2.17  		}
    2.18  		else {
    2.19  			if(strhead(s,"root=") == 0) {
     3.1 --- a/xa/receipt	Fri Apr 07 15:13:34 2017 +0200
     3.2 +++ b/xa/receipt	Fri Apr 07 21:50:50 2017 +0200
     3.3 @@ -9,6 +9,7 @@
     3.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     3.5  WEB_SITE="http://www.floodgap.com/retrotech/xa/"
     3.6  WGET_URL="${WEB_SITE}dists/$TARBALL"
     3.7 +TAGS="cross assembler 6502"
     3.8  
     3.9  # Rules to configure and make the package.
    3.10  compile_rules()