wok-current rev 4014

h8300-binutils, h8300-gcc3: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 03 21:23:46 2009 +0200 (2009-09-03)
parents 88f233b6c39d
children 05b5a901936b
files h8300-binutils/receipt h8300-gcc3/receipt
line diff
     1.1 --- a/h8300-binutils/receipt	Thu Sep 03 03:36:10 2009 +0200
     1.2 +++ b/h8300-binutils/receipt	Thu Sep 03 21:23:46 2009 +0200
     1.3 @@ -20,6 +20,8 @@
     1.4  		--target=h8300-hitachi-hms \
     1.5  		--prefix=/usr \
     1.6  		--disable-nls \
     1.7 +		--exec-prefix=/usr \
     1.8 +		--libexecdir=/usr/lib \
     1.9  		--infodir=/usr/share/info \
    1.10  		--mandir=/usr/share/man \
    1.11  		$CONFIGURE_ARGS &&
    1.12 @@ -32,6 +34,7 @@
    1.13  {
    1.14  	mkdir -p $fs/usr
    1.15  	cp -a $_pkg/usr/bin $fs/usr
    1.16 -	cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr
    1.17 +	cp -a $_pkg/usr/lib $fs/usr
    1.18  	# do not need to copy lib/libiberty.a
    1.19 +	rm -f $fs/usr/lib/libiberty.a
    1.20  }
     2.1 --- a/h8300-gcc3/receipt	Thu Sep 03 03:36:10 2009 +0200
     2.2 +++ b/h8300-gcc3/receipt	Thu Sep 03 21:23:46 2009 +0200
     2.3 @@ -24,6 +24,8 @@
     2.4  		--disable-nls \
     2.5  		--enable-target-optspace \
     2.6  		--prefix=/usr \
     2.7 +		--exec-prefix=/usr \
     2.8 +		--libexecdir=/usr/lib \
     2.9  		--infodir=/usr/share/info \
    2.10  		--mandir=/usr/share/man \
    2.11  		$CONFIGURE_ARGS &&
    2.12 @@ -36,12 +38,10 @@
    2.13  {
    2.14  	mkdir -p $fs/usr
    2.15  	cp -a $_pkg/usr/bin $fs/usr
    2.16 -	cp -a $_pkg/usr/h8300-hitachi-hms $fs/usr
    2.17  	cp -a $_pkg/usr/include $fs/usr
    2.18  	# do not need to copy lib/libiberty.a
    2.19  	mkdir -p $fs/usr/lib
    2.20  	cp -a $_pkg/usr/lib/gcc $fs/usr/lib
    2.21 -	cp -a $_pkg/usr/libexec $fs/usr
    2.22  }
    2.23  
    2.24  # Rules to clean the package