diff options
author | tv <tv> | 1999-01-04 22:37:29 +0000 |
---|---|---|
committer | tv <tv> | 1999-01-04 22:37:29 +0000 |
commit | 1ac8c0ae893cce269b1164bb0d5d075a4e36279b (patch) | |
tree | f6d6b811a4c9cc20cd3b49a70a233e6958d1095b /cross/i386-linux | |
parent | 531eb73376adf514ac2b79ec993c9774230ed45b (diff) | |
download | pkgsrc-1ac8c0ae893cce269b1164bb0d5d075a4e36279b.tar.gz |
Major `cross' category overhaul. Clean up the shared Makefiles; move all
binutils stuff (except gas) to a shared, multiple-target binutils build;
reduce extract and compile times by being more specific with files and
targets; update to egcs 1.1.1 with a diffball from NetBSD's src/gnu/dist
tree; add 4.4BSD a.out archive support to binutils.
Diffstat (limited to 'cross/i386-linux')
-rw-r--r-- | cross/i386-linux/Makefile | 16 | ||||
-rw-r--r-- | cross/i386-linux/patches/patch-aa | 6 | ||||
-rw-r--r-- | cross/i386-linux/pkg/PLIST | 16 |
3 files changed, 28 insertions, 10 deletions
diff --git a/cross/i386-linux/Makefile b/cross/i386-linux/Makefile index 8e3570db00e..3e37a6dbd08 100644 --- a/cross/i386-linux/Makefile +++ b/cross/i386-linux/Makefile @@ -1,17 +1,21 @@ -# $NetBSD: Makefile,v 1.2 1998/08/23 20:40:23 frueauf Exp $ +# $NetBSD: Makefile,v 1.3 1999/01/04 22:37:32 tv Exp $ # -DISTVERSION= 2.0.7.0 +DISTVERSION= 2.0.7.1 DISTFILES= ${LINUXDEVEL_FILES} EXTRACT_ONLY= # none of the RPM files -MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/redhat-5.1/i386/RedHat/RPMS/ \ - ftp://ftp.digital.com/pub/linux/redhat/redhat-5.1/i386/RedHat/RPMS/ +MASTER_SITES= ftp://ftp.cdrom.com/pub/linux/redhat/redhat-5.1/i386/RedHat/RPMS/ MAINTAINER= packages@netbsd.org BUILD_DEPENDS= rpm2cpio:../../misc/rpm -USE_CROSS_GNU= yes +WRKSRC= ${WRKDIR} + +USE_CROSS_BINUTILS= yes +BINUTILS_GNUTARGET= elf32-i386 +BINUTILS_LDEMULATION= elf-i386 +USE_CROSS_EGCS= yes LINUXDEVEL_FILES= glibc-2.0.7-13.i386.rpm \ glibc-devel-2.0.7-13.i386.rpm \ @@ -40,7 +44,7 @@ post-extract: libutil; do \ ${LN} -sf $$so.so.* $$so.so; \ done - @${LN} -f ${SYS_LIB}/crt* ${WRKSRC}/gcc/ + @${LN} -f ${SYS_LIB}/crt* ${EGCS_WRKSRC}/gcc/ post-patch: @${RM} -f ${SYS_LIB}/*.orig diff --git a/cross/i386-linux/patches/patch-aa b/cross/i386-linux/patches/patch-aa index 40a93fb69ae..6031ebaf71e 100644 --- a/cross/i386-linux/patches/patch-aa +++ b/cross/i386-linux/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.1 1998/08/14 00:10:45 tv Exp $ +$NetBSD: patch-aa,v 1.2 1999/01/04 22:37:33 tv Exp $ ---- ../usr/lib/libc.so.orig Thu Aug 13 12:00:12 1998 -+++ ../usr/lib/libc.so Thu Aug 13 12:00:53 1998 +--- usr/lib/libc.so.orig Thu Aug 13 12:00:12 1998 ++++ usr/lib/libc.so Thu Aug 13 12:00:53 1998 @@ -1,4 +1,4 @@ /* GNU ld script Use the shared library, but some functions are only in diff --git a/cross/i386-linux/pkg/PLIST b/cross/i386-linux/pkg/PLIST index 0b7c1fc3b48..800c9fc5920 100644 --- a/cross/i386-linux/pkg/PLIST +++ b/cross/i386-linux/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 1998/08/23 20:23:54 frueauf Exp $ +@comment $NetBSD: PLIST,v 1.3 1999/01/04 22:37:33 tv Exp $ ${TARGET_ARCH}/include/_G_config.h ${TARGET_ARCH}/include/__math.h ${TARGET_ARCH}/include/a.out.h @@ -687,3 +687,17 @@ lib/gcc-lib/${TARGET_ARCH}/${EGCS_INTVERSION}/crtbegin.o lib/gcc-lib/${TARGET_ARCH}/${EGCS_INTVERSION}/crtbeginS.o lib/gcc-lib/${TARGET_ARCH}/${EGCS_INTVERSION}/crtend.o lib/gcc-lib/${TARGET_ARCH}/${EGCS_INTVERSION}/crtendS.o +@dirrm ${TARGET_ARCH}/include/arpa +@dirrm ${TARGET_ARCH}/include/gnu +@dirrm ${TARGET_ARCH}/include/net +@dirrm ${TARGET_ARCH}/include/netinet +@dirrm ${TARGET_ARCH}/include/netipx +@dirrm ${TARGET_ARCH}/include/nfs +@dirrm ${TARGET_ARCH}/include/protocols +@dirrm ${TARGET_ARCH}/include/rpc +@dirrm ${TARGET_ARCH}/include/rpcsvc +@dirrm ${TARGET_ARCH}/include/sys +@dirrm ${TARGET_ARCH}/include/asm +@dirrm ${TARGET_ARCH}/include/linux/modules +@dirrm ${TARGET_ARCH}/include/linux +@dirrm ${TARGET_ARCH}/include/scsi |