wok rev 3292

Update: h8300-gcc3 (add clean_wok)
author Matthew Sheets <rcx@zoominternet.net>
date Wed Jun 03 15:26:31 2009 +0000 (2009-06-03)
parents c326569013f4
children 85d003406ad0
files h8300-gcc3/receipt
line diff
     1.1 --- a/h8300-gcc3/receipt	Wed Jun 03 15:24:25 2009 +0000
     1.2 +++ b/h8300-gcc3/receipt	Wed Jun 03 15:26:31 2009 +0000
     1.3 @@ -15,10 +15,9 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8 -	rm -f -r libssp libstdc++-v3 binutils
     1.9 -	mkdir -p $src-build
    1.10 -	cd $src-build
    1.11 +	rm -f -r $src/libssp $src/libstdc++-v3 $src/binutils
    1.12 +	mkdir -p $SOURCE-$VERSION-build
    1.13 +	cd $SOURCE-$VERSION-build
    1.14  	$src/configure \
    1.15  		--target=h8300-hitachi-hms \
    1.16  		--enable-languages=c,c++,ada,java \
    1.17 @@ -44,3 +43,9 @@
    1.18  	cp -a $_pkg/usr/lib/gcc $fs/usr/lib
    1.19  	cp -a $_pkg/usr/libexec $fs/usr
    1.20  }
    1.21 +
    1.22 +# Rules to clean the package
    1.23 +clean_wok()
    1.24 +{
    1.25 +	rm -r $SOURCE-$VERSION-build
    1.26 +}