wok diff h8300-gcc/receipt @ rev 4617
vlc: ImgReSampleContext is deprecated
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 17 17:28:06 2009 +0100 (2009-12-17) |
parents | 975439362c74 |
children | fdcef0b5e0c7 |
line diff
1.1 --- a/h8300-gcc/receipt Sun Aug 30 16:04:45 2009 +0200 1.2 +++ b/h8300-gcc/receipt Thu Dec 17 17:28:06 2009 +0100 1.3 @@ -12,6 +12,11 @@ 1.4 WEB_SITE="http://www.gnu.org/software/gcc/" 1.5 WGET_URL="$GNU_MIRROR/$SOURCE/$SOURCE-$VERSION/$TARBALL" 1.6 1.7 +# Configuration only needs included if we're in the build/wok environment 1.8 +if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then 1.9 + . $WOK/h8300-toolchain/stuff/h8300.conf 1.10 +fi 1.11 + 1.12 # Rules to configure and make the package. 1.13 compile_rules() 1.14 { 1.15 @@ -19,13 +24,12 @@ 1.16 mkdir -p $SOURCE-$VERSION-build 1.17 cd $SOURCE-$VERSION-build 1.18 $src/configure \ 1.19 - --target=h8300-hitachi-hms \ 1.20 + --target=$H8300_TARGET \ 1.21 --enable-languages=c,c++ \ 1.22 --disable-nls \ 1.23 --enable-target-optspace \ 1.24 --enable-obsolete \ 1.25 --prefix=/usr \ 1.26 - --exec-prefix=/usr \ 1.27 --libexecdir=/usr/lib \ 1.28 --infodir=/usr/share/info \ 1.29 --mandir=/usr/share/man \ 1.30 @@ -43,6 +47,10 @@ 1.31 # do not need to copy lib/libiberty.a 1.32 mkdir -p $fs/usr/lib 1.33 cp -a $_pkg/usr/lib/gcc $fs/usr/lib 1.34 + # Do not include the h8* variant folders; create separate packages if they are needed 1.35 + rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300h 1.36 + rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8300s 1.37 + rm -r -f $fs/usr/lib/gcc/$H8300_TARGET/$VERSION/h8sx 1.38 } 1.39 1.40 # Rules to clean the package