summaryrefslogtreecommitdiff
path: root/cross/i386-linuxglibc1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cross/i386-linuxglibc1/Makefile')
-rw-r--r--cross/i386-linuxglibc1/Makefile51
1 files changed, 0 insertions, 51 deletions
diff --git a/cross/i386-linuxglibc1/Makefile b/cross/i386-linuxglibc1/Makefile
deleted file mode 100644
index d39ad44e68c..00000000000
--- a/cross/i386-linuxglibc1/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-# $NetBSD: Makefile,v 1.12 2004/07/09 20:48:15 kristerw Exp $
-#
-
-DISTVERSION= 5.3.12.1
-PKGREVISION= 1
-DISTFILES= ${LINUXDEVEL_FILES}
-EXTRACT_ONLY= # none of the RPM files
-MASTER_SITES= ftp://ftp.cdrom.com/pub/linux/redhat/redhat-4.2/i386/RedHat/RPMS/
-
-MAINTAINER= tech-pkg@NetBSD.org
-COMMENT= Cross-compile environment for iX86 Linux, libc v5
-
-BUILD_DEPENDS= rpm-[0-9]*:../../misc/rpm
-
-USE_CROSS_BINUTILS= yes
-BINUTILS_GNUTARGET= elf32-i386
-BINUTILS_LDEMULATION= elf_i386
-USE_CROSS_EGCS= yes
-
-# Scripts in the build need to have a $CPP defined that works with the built
-# compiler
-NO_EXPORT_CPP= yes
-
-LINUXDEVEL_FILES= libc-5.3.12-18.i386.rpm \
- libc-devel-5.3.12-18.i386.rpm \
- libc-static-5.3.12-18.i386.rpm \
- kernel-headers-2.0.30-2.i386.rpm
-
-TARGET_ARCH= i386-linuxglibc1
-CROSS_SYS_INCLUDE= ${WRKDIR}/usr/include
-SYS_LIB= ${WRKDIR}/usr/lib
-
-# Extract and rearrange Linux distribution files.
-post-extract:
- @cd ${WRKDIR}; \
- for file in ${LINUXDEVEL_FILES}; do \
- rpm2cpio ${_DISTDIR}/$$file | cpio -id; \
- done
- @cd ${WRKDIR}/lib && ${MV} -f * ../usr/lib/
- @cd ${WRKDIR}/usr/lib && \
- ${LN} -sf libc.so.*.* libc.so && \
- ${LN} -sf libc.so.5.* libc.so.5 && \
- ${LN} -sf libm.so.*.* libm.so && \
- ${LN} -sf libm.so.5.* libm.so.5
- @cd ${WRKDIR}/usr/include && ${RM} -f asm linux scsi
- @cd ${WRKDIR}/usr/src/linux-2.0.30/include && \
- ${MV} -f asm-i386 ${WRKDIR}/usr/include/asm && \
- ${MV} -f linux scsi ${WRKDIR}/usr/include/
- @${LN} -f ${WRKDIR}/usr/lib/crt*.o ${EGCS_WRKSRC}/gcc/
-
-.include "../COMMON/cross.mk"