diff options
Diffstat (limited to 'packages/dejagnu')
-rw-r--r-- | packages/dejagnu/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/dejagnu/dejagnu-native_1.4.4.bb | 4 | ||||
-rw-r--r-- | packages/dejagnu/dejagnu-qemu/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/dejagnu/dejagnu-qemu/arm-qemu.exp | 30 | ||||
-rw-r--r-- | packages/dejagnu/dejagnu-qemu_1.0.bb | 21 | ||||
-rw-r--r-- | packages/dejagnu/dejagnu_1.4.4.bb | 6 |
6 files changed, 61 insertions, 0 deletions
diff --git a/packages/dejagnu/.mtn2git_empty b/packages/dejagnu/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/dejagnu/.mtn2git_empty diff --git a/packages/dejagnu/dejagnu-native_1.4.4.bb b/packages/dejagnu/dejagnu-native_1.4.4.bb index e69de29bb2..dbfa564efd 100644 --- a/packages/dejagnu/dejagnu-native_1.4.4.bb +++ b/packages/dejagnu/dejagnu-native_1.4.4.bb @@ -0,0 +1,4 @@ +include dejagnu_${PV}.bb +S = "${WORKDIR}/dejagnu-${PV}" +inherit native + diff --git a/packages/dejagnu/dejagnu-qemu/.mtn2git_empty b/packages/dejagnu/dejagnu-qemu/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/dejagnu/dejagnu-qemu/.mtn2git_empty diff --git a/packages/dejagnu/dejagnu-qemu/arm-qemu.exp b/packages/dejagnu/dejagnu-qemu/arm-qemu.exp index e69de29bb2..f6d2f8a7de 100644 --- a/packages/dejagnu/dejagnu-qemu/arm-qemu.exp +++ b/packages/dejagnu/dejagnu-qemu/arm-qemu.exp @@ -0,0 +1,30 @@ +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software +# Foundation, Inc. +# +# This file is part of DejaGnu. +# +# DejaGnu is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# DejaGnu is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with DejaGnu; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +set_board_info is_simulator 1 +set_board_info sim "qemu-arm-test-wrapper" + +load_generic_config "unix" +process_multilib_options "" + +set_board_info compiler "[find_gcc]" + +set_board_info bmk,use_alarm 1 + + diff --git a/packages/dejagnu/dejagnu-qemu_1.0.bb b/packages/dejagnu/dejagnu-qemu_1.0.bb index e69de29bb2..aed0f207e3 100644 --- a/packages/dejagnu/dejagnu-qemu_1.0.bb +++ b/packages/dejagnu/dejagnu-qemu_1.0.bb @@ -0,0 +1,21 @@ +LICENSE = "GPL" +MAINTAINER = "Phil Blundell <pb@debian.org>" + +inherit cross + +SRC_URI = "file://arm-qemu.exp" + +# fixme +QEMU = "qemu-arm" +LD_SO = "lib/ld-linux.so.2" + +do_stage() { + install -d ${STAGING_DATADIR}/dejagnu/baseboards + install -m 0644 ${WORKDIR}/arm-qemu.exp ${STAGING_DATADIR}/dejagnu/baseboards/ + cat <<EOF >${STAGING_BINDIR}/${QEMU}-test-wrapper +#!/bin/sh +exec ${QEMU} ${CROSS_DIR}/${TARGET_SYS}/${LD_SO} --library-path ${CROSS_DIR}/${TARGET_SYS}/lib:${STAGING_DIR}/${TARGET_SYS}/lib \$1 +EOF + chmod 755 ${STAGING_BINDIR}/arm-qemu-test-wrapper +} + diff --git a/packages/dejagnu/dejagnu_1.4.4.bb b/packages/dejagnu/dejagnu_1.4.4.bb index e69de29bb2..73a2f79b11 100644 --- a/packages/dejagnu/dejagnu_1.4.4.bb +++ b/packages/dejagnu/dejagnu_1.4.4.bb @@ -0,0 +1,6 @@ +LICENSE = "GPL" + +SRC_URI = "ftp://ftp.gnu.org/gnu/dejagnu/dejagnu-${PV}.tar.gz" + +inherit autotools + |