pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/crosspkgtools/kwacross-netbsd1-arm Initial import of k...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65b94f3eb9cd
branches:  trunk
changeset: 495326:65b94f3eb9cd
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Mon Jun 06 22:34:08 2005 +0000

description:
Initial import of kwacross-netbsd1-arm-20050605.

This package contains tools needed to cross-build pkgsrc for
the NetBSD 1.6 arm ports.

diffstat:

 crosspkgtools/kwacross-netbsd1-arm/DESCR            |   1 +
 crosspkgtools/kwacross-netbsd1-arm/Makefile         |  67 ++++++++++++++++
 crosspkgtools/kwacross-netbsd1-arm/PLIST            |  85 +++++++++++++++++++++
 crosspkgtools/kwacross-netbsd1-arm/distinfo         |  19 ++++
 crosspkgtools/kwacross-netbsd1-arm/patches/patch-aa |  50 ++++++++++++
 crosspkgtools/kwacross-netbsd1-arm/patches/patch-ab |  22 +++++
 6 files changed, 244 insertions(+), 0 deletions(-)

diffs (268 lines):

diff -r a0f0a514dbce -r 65b94f3eb9cd crosspkgtools/kwacross-netbsd1-arm/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crosspkgtools/kwacross-netbsd1-arm/DESCR  Mon Jun 06 22:34:08 2005 +0000
@@ -0,0 +1,1 @@
+NetBSD simulator, which allows packages to be cross-built.
diff -r a0f0a514dbce -r 65b94f3eb9cd crosspkgtools/kwacross-netbsd1-arm/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crosspkgtools/kwacross-netbsd1-arm/Makefile       Mon Jun 06 22:34:08 2005 +0000
@@ -0,0 +1,67 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/06/06 22:34:09 kristerw Exp $
+
+DISTNAME=      kwacross-netbsd1-arm-20050605
+CATEGORIES=     crosspkgtools
+MASTER_SITES=  ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6.2/source/sets/
+EXTRACT_SUFX=  .tgz
+DISTFILES=      ${DISTNAME}${EXTRACT_SUFX} \
+               gnusrc.tgz sharesrc.tgz src.tgz syssrc.tgz
+
+MAINTAINER=    kristerw%NetBSD.org@localhost
+HOMEPAGE=      http://www.df.lth.se/~cato/kwacross/
+COMMENT=       Simulator for running NetBSD/arm programs
+
+DIST_SUBDIR=   kwacross-netbsd-1.6.2
+SITES_kwacross-netbsd1-arm-20050605G.tgz=http://www.df.lth.se/~cato/kwacross/distfiles/
+
+GNU_CONFIGURE=  yes
+CONFIGURE_ENV+=        ac_cv_path_BSHELL="/bin/sh"
+
+# Where the target's file system is located.
+#
+# Note: must not have '/' at the end.
+NBSIM_FILESYSTEM_PATH?=        "${PREFIX}/crossfs"
+
+# Where to find the NetBSD cross tools.
+NBSIM_TOOL_PATH=       "${PREFIX}/libexec/kwacrosstools-netbsd1-arm"
+
+MAKE_FLAGS=    KWADEFS="-DPKGPREFIX=\\\"${PREFIX}\\\" -DEMUL_BASEDIR=\\\"${NBSIM_FILESYSTEM_PATH}\\\" -DTOOL_PATH=\\\"${NBSIM_TOOL_PATH}\\\" -DSIMPREFIX=\\\"${NBSIM_TOOL_PATH}\\\""
+
+MACHINES=      acorn26 acorn32 cats evbarm hpcarm netwinder shark
+
+post-build:
+.      for machine in ${MACHINES}
+         ${SED} -e "s|@EMUL_HW_MACHINE@|${machine}|g"          \
+                -e "s|@TOOL_PATH@|${NBSIM_TOOL_PATH}|g"        \
+                ${WRKSRC}/files/nbsimsh                        \
+                       > ${WRKSRC}/files/kwacrosssh-netbsd1-${machine}
+         ${SED} -e "s|@EMUL_HW_MACHINE@|${machine}|g"          \
+                -e "s|@TOOL_PATH@|${NBSIM_TOOL_PATH}|g"        \
+                ${WRKSRC}/files/nbsimmake                      \
+                       > ${WRKSRC}/files/kwacrossmake-netbsd1-${machine}
+.      endfor
+
+do-install:
+       cd ${WRKDIR}/usr/src && \
+               ./build.sh -T ${NBSIM_TOOL_PATH} -m shark -o -u -t
+       ${RM} -rf \
+               ${NBSIM_TOOL_PATH}/share \
+               ${NBSIM_TOOL_PATH}/man \
+               ${NBSIM_TOOL_PATH}/info \
+               ${NBSIM_TOOL_PATH}/include \
+               ${NBSIM_TOOL_PATH}/bin/nb*
+       ${INSTALL_PROGRAM} ${WRKSRC}/gdb/sim/arm/run \
+               ${NBSIM_TOOL_PATH}/bin/netbsdsim-arm
+       ${INSTALL_PROGRAM} ${WRKSRC}/make/nbmake \
+               ${NBSIM_TOOL_PATH}/bin/nbsimmake-arm
+       ${INSTALL_PROGRAM} ${WRKSRC}/sh/sh \
+               ${NBSIM_TOOL_PATH}/bin/nbsimsh-arm
+       ${INSTALL_DATA_DIR} ${NBSIM_FILESYSTEM_PATH}
+.      for machine in ${MACHINES}
+         ${INSTALL_SCRIPT} ${WRKSRC}/files/kwacrossmake-netbsd1-${machine} \
+               ${PREFIX}/bin
+         ${INSTALL_SCRIPT} ${WRKSRC}/files/kwacrosssh-netbsd1-${machine} \
+               ${PREFIX}/bin
+.      endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r a0f0a514dbce -r 65b94f3eb9cd crosspkgtools/kwacross-netbsd1-arm/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crosspkgtools/kwacross-netbsd1-arm/PLIST  Mon Jun 06 22:34:08 2005 +0000
@@ -0,0 +1,85 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/06 22:34:09 kristerw Exp $
+bin/kwacrossmake-netbsd1-acorn26
+bin/kwacrossmake-netbsd1-acorn32
+bin/kwacrossmake-netbsd1-cats
+bin/kwacrossmake-netbsd1-evbarm
+bin/kwacrossmake-netbsd1-hpcarm
+bin/kwacrossmake-netbsd1-netwinder
+bin/kwacrossmake-netbsd1-shark
+bin/kwacrosssh-netbsd1-acorn26
+bin/kwacrosssh-netbsd1-acorn32
+bin/kwacrosssh-netbsd1-cats
+bin/kwacrosssh-netbsd1-evbarm
+bin/kwacrosssh-netbsd1-hpcarm
+bin/kwacrosssh-netbsd1-netwinder
+bin/kwacrosssh-netbsd1-shark
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/bin/ar
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/bin/as
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/bin/gcc
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/bin/ld
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/bin/nm
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/bin/ranlib
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/bin/strip
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelf_nbsd.x
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelf_nbsd.xbn
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelf_nbsd.xn
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelf_nbsd.xr
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelf_nbsd.xs
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelf_nbsd.xu
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelfb_nbsd.x
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelfb_nbsd.xbn
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelfb_nbsd.xn
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelfb_nbsd.xr
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelfb_nbsd.xs
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armelfb_nbsd.xu
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armnbsd.x
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armnbsd.xbn
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armnbsd.xn
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armnbsd.xr
+libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts/armnbsd.xu
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-addr2line
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-ar
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-as
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-c++
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-c++filt
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-cpp
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-g++
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-g77
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-gasp
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-gcc
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-gcov
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-ld
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-nm
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-objcopy
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-objdump
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-ranlib
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-readelf
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-size
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-strings
+libexec/kwacrosstools-netbsd1-arm/bin/arm--netbsdelf-strip
+libexec/kwacrosstools-netbsd1-arm/bin/nbsimmake-arm
+libexec/kwacrosstools-netbsd1-arm/bin/nbsimsh-arm
+libexec/kwacrosstools-netbsd1-arm/bin/netbsdsim-arm
+libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/cc1
+libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/cc1obj
+libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/cc1plus
+libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/collect2
+libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/cpp0
+libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/f771
+libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/specs
+@exec ${MKDIR} %D/libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/include
+@dirrm libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3/include
+@dirrm libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf/2.95.3
+@dirrm libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib/arm--netbsdelf
+@dirrm libexec/kwacrosstools-netbsd1-arm/lib/gcc-lib
+@dirrm libexec/kwacrosstools-netbsd1-arm/lib
+@dirrm libexec/kwacrosstools-netbsd1-arm/bin
+@dirrm libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib/ldscripts
+@dirrm libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/lib
+@exec ${MKDIR} %D/libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/include
+@dirrm libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/include
+@dirrm libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf/bin
+@dirrm libexec/kwacrosstools-netbsd1-arm/arm--netbsdelf
+@dirrm libexec/kwacrosstools-netbsd1-arm
+@exec ${MKDIR} %D/crossfs
+@dirrm crossfs
diff -r a0f0a514dbce -r 65b94f3eb9cd crosspkgtools/kwacross-netbsd1-arm/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crosspkgtools/kwacross-netbsd1-arm/distinfo       Mon Jun 06 22:34:08 2005 +0000
@@ -0,0 +1,19 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/06/06 22:34:08 kristerw Exp $
+
+SHA1 (kwacross-netbsd-1.6.2/kwacross-netbsd1-arm-20050605.tgz) = 3dc5a7a85dbc262b11c602ae280131cca5c8fbd1
+RMD160 (kwacross-netbsd-1.6.2/kwacross-netbsd1-arm-20050605.tgz) = 249a6eb652c2b6efa3a39fcec4b0566ad127f2b5
+Size (kwacross-netbsd-1.6.2/kwacross-netbsd1-arm-20050605.tgz) = 14213529 bytes
+SHA1 (kwacross-netbsd-1.6.2/gnusrc.tgz) = e8d5f80568115d24c989d732b88a370e8eb3d03f
+RMD160 (kwacross-netbsd-1.6.2/gnusrc.tgz) = 4ab39b84552ac87b78eafc596269c412492b785f
+Size (kwacross-netbsd-1.6.2/gnusrc.tgz) = 57687955 bytes
+SHA1 (kwacross-netbsd-1.6.2/sharesrc.tgz) = 52a5c38ced2b642e0852d78871ff3ebd24163d4e
+RMD160 (kwacross-netbsd-1.6.2/sharesrc.tgz) = 422bd8136a3521de0f5dd5b4da94289a7582c833
+Size (kwacross-netbsd-1.6.2/sharesrc.tgz) = 3690765 bytes
+SHA1 (kwacross-netbsd-1.6.2/src.tgz) = ee6d4ef31d32b975621b34d590ab4ef8018a72f6
+RMD160 (kwacross-netbsd-1.6.2/src.tgz) = 0f93f627df8eed1b7ff036b4aa8bb531efce9593
+Size (kwacross-netbsd-1.6.2/src.tgz) = 28517316 bytes
+SHA1 (kwacross-netbsd-1.6.2/syssrc.tgz) = 62560fddfd8252a025bb3ca693d2aa8ffc6acd1f
+RMD160 (kwacross-netbsd-1.6.2/syssrc.tgz) = 7676a8f9fe6b2f268170d0f88ee03c2d470170ba
+Size (kwacross-netbsd-1.6.2/syssrc.tgz) = 22986092 bytes
+SHA1 (patch-aa) = 505ff3f62f8ee12744a15c8382e36989b1de4218
+SHA1 (patch-ab) = 97b2f67cdc04e66fd55b18124fcafac6f111c403
diff -r a0f0a514dbce -r 65b94f3eb9cd crosspkgtools/kwacross-netbsd1-arm/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crosspkgtools/kwacross-netbsd1-arm/patches/patch-aa       Mon Jun 06 22:34:08 2005 +0000
@@ -0,0 +1,50 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/06/06 22:34:10 kristerw Exp $
+
+--- ../usr/src/tools/Makefile.orig     Thu Dec 26 08:53:20 2002
++++ ../usr/src/tools/Makefile  Sat Jan  1 21:50:13 2005
+@@ -4,42 +4,18 @@
+ 
+ # XXX We can't currently build the toolchain for x86-64.
+ .if ${MACHINE_ARCH} != "x86_64"
+-TOOLCHAIN_BITS= toolchain .WAIT dbsym mdsetimage
++TOOLCHAIN_BITS= toolchain .WAIT
+ .endif
+ 
+ # Dependencies in SUBDIR below ordered to maximize parallel ability.
+ .if !defined(NOSUBDIR)                                        # {
+ 
+ SUBDIR=       host-mkdep .WAIT compat .WAIT \
+-      binstall .WAIT mktemp .WAIT \
+-              cap_mkdb crunchgen ctags gencat lint lint2 lorder \
+-              m4 makewhatis mkdep mtree rpcgen tsort uudecode \
++      binstall .WAIT \
+       texinfo .WAIT \
+       yacc .WAIT \
+       lex .WAIT \
+-      ${TOOLCHAIN_BITS} \
+-              asn1_compile cat cksum compile_et config installboot lint1 \
+-              makefs menuc mklocale msgc pax pwd_mkdb sunlabel zic
+-
+-.if ${MKMAN} != "no"
+-SUBDIR+=      groff
+-.endif
+-
+-.if ${MKMAINTAINERTOOLS:Uno} != "no"
+-SUBDIR+=      autoconf gettext
+-.endif
+-
+-.if ${MACHINE} == prep
+-SUBDIR+=      prep-mkbootimage
+-.endif
+-
+-.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb")
+-SUBDIR+=      mips-elf2ecoff
+-.endif
+-
+-.if (${MACHINE} == "sparc" || ${MACHINE} == "sparc64")
+-SUBDIR+=      fgen
+-.endif
++      ${TOOLCHAIN_BITS}
+ 
+ .endif        # ! NOSUBDIR                                    # }
+ 
diff -r a0f0a514dbce -r 65b94f3eb9cd crosspkgtools/kwacross-netbsd1-arm/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/crosspkgtools/kwacross-netbsd1-arm/patches/patch-ab       Mon Jun 06 22:34:08 2005 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/06/06 22:34:09 kristerw Exp $
+
+--- gdb/sim/netbsd/native_exec.c.orig  2005-06-06 18:46:37.000000000 +0200
++++ gdb/sim/netbsd/native_exec.c       2005-06-06 18:47:17.000000000 +0200
+@@ -3734,7 +3734,7 @@
+   for (argc = 0; argv[argc] != NULL; argc++)
+     ;
+ 
+-#if 1
++#if 0
+   {
+     FILE* f;
+ 
+@@ -3860,7 +3860,7 @@
+       return -1;
+     }
+ 
+-#if 1
++#if 0
+   {
+     FILE* f;
+ 



Home | Main Index | Thread Index | Old Index