Browse Source

target: removed old wrt2 target

user/chris/test/arm
Christian Wiese 13 years ago
parent
commit
adc8eea45c
14 changed files with 0 additions and 288 deletions
  1. +0
    -21
      target/wrt2/build.sh
  2. +0
    -97
      target/wrt2/build_image.sh
  3. +0
    -118
      target/wrt2/config.in
  4. +0
    -5
      target/wrt2/rootfs/etc/fstab
  5. +0
    -1
      target/wrt2/rootfs/etc/group
  6. +0
    -7
      target/wrt2/rootfs/etc/issue
  7. +0
    -4
      target/wrt2/rootfs/etc/minit/default/depends
  8. +0
    -1
      target/wrt2/rootfs/etc/minit/fgetty/7/params
  9. +0
    -0
      target/wrt2/rootfs/etc/minit/fgetty/7/respawn
  10. +0
    -16
      target/wrt2/rootfs/etc/minit/fgetty/7/run
  11. +0
    -9
      target/wrt2/rootfs/etc/minit/fgetty/depends
  12. +0
    -1
      target/wrt2/rootfs/etc/minit/hostname/params
  13. +0
    -1
      target/wrt2/rootfs/etc/passwd
  14. +0
    -7
      target/wrt2/rootfs/etc/profile

+ 0
- 21
target/wrt2/build.sh

@ -1,21 +0,0 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/wrt2/build.sh
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program 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; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
pkgloop
imagelocation="$build_toolchain/rootfs"
. $base/target/$target/build_image.sh
echo_status "Done!"

+ 0
- 97
target/wrt2/build_image.sh

@ -1,97 +0,0 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/wrt2/build_image.sh
# Copyright (C) 2006 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program 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; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
. $base/target/share/functions.in
set -e
echo "Preparing root filesystem image from build result ..."
rm -rf $imagelocation{,.squashfs}
mkdir -p $imagelocation ; cd $imagelocation
find $build_root -printf "%P\n" | sed '
# stuff we never need
/^TOOLCHAIN/ d;
/^var\/adm/ d;
/\/include/ d;
/\/src/ d;
/\.a$/ d;
/\.o$/ d;
/\.old$/ d;
/\/games/ d;
/\/local/ d;
/^boot/ d;
# # stuff that would be nice - but is huge and only documentation
/\/man/ d;
/\/doc/ d;
# /etc noise
/^etc\/stone.d/ d;
/^etc\/cron.d/ d;
/^etc\/init.d/ d;
/^etc\/skel/ d;
/^etc\/opt/ d;
/^etc\/conf/ d;
/^etc\/rc.d/ d;
/^opt/ d;
/^\/man\// d;
/terminfo\/a\/ansi$/ { p; d; }
/terminfo\/l\/linux$/ { p; d; }
/terminfo\/x\/xterm$/ { p; d; }
/terminfo\/n\/nxterm$/ { p; d; }
/terminfo\/x\/xterm-color$/ { p; d; }
/terminfo\/x\/xterm-8bit$/ { p; d; }
/terminfo\/x\/screen$/ { p; d; }
/terminfo\/v\/vt100$/ { p; d; }
/terminfo\/v\/vt200$/ { p; d; }
/terminfo\/v\/vt220$/ { p; d; }
/terminfo/ d;
' > tar.input
copy_with_list_from_file $build_root . $PWD/tar.input
rm tar.input
echo "Preparing root filesystem image from target defined files ..."
rm -f sbin/init ; ln -s minit sbin/init
copy_from_source $base/target/$target/rootfs .
echo "Creating links for identical files ..."
link_identical_files
echo "Creating root filesystem image (squashfs) ..."
if [ "$arch_bigendian" = "yes" ]; then
sqfsopts="-be"
else
sqfsopts="-le"
fi
mksquashfs $imagelocation{,.squashfs} $sqfsopts > /dev/null
du -sh $imagelocation{,.squashfs}
echo "The image is located at $imagelocation.squasfs."

+ 0
- 118
target/wrt2/config.in

@ -1,118 +0,0 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/wrt2/config.in
# Copyright (C) 2004 - 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program 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; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
#Description: Wireless Router (experimental!)
comment_id '- Target Style' COMMENT_TARGET_EMBEDDED_STYLEC
choice SDECFG_TARGET_EMBEDDED_STYLE uclibc \
uclibc 'uc libC (ugly but many packages to choose from)' \
dietlibc 'diet libC (less is more)'
embedded_pkgfilter() {
local tmp=`mktemp`
cat > $tmp <<-EOT
# mangle all packages to only build them in the cross stage (1)
s,^. \(.\)[^ ]*,X \11--------,;
# select some packages (and repositories) explicitely
/ fhs / { p; d; };
/ linux-header / { p; d; };
/ binutils / { s,^. [^ ]*,X 0---------,; p; d; }
/ gcc / { s,^. [^ ]*,X 0---------,; p; d; }
/ squashfs-tools / { s,^. [^ ]*,X 0---------,; p; d; }
#/ linux26mips / { p; d; };
# unionfs fails to build with dietlibc
#/ unionfs / { p; d; };
/ ncurses / { p; d; };
/ readline / { p; d; };
/ libowfat / { p; d; };
/ zlib / { p; d; };
/ libpcap / { p; d; };
/ openssl / { p; d; };
/ minit / { p; d; };
/ fgetty / { p; d; };
/ embutils / { p; d; };
/ pdksh / { p; d; };
/ arptables / { p; d; };
/ ebtables / { p; d; };
/ iptables / { p; d; };
/ iproute2 / { p; d; };
/ vlan / { p; d; };
/ bridge-utils / { p; d; };
/ ppp / { p; d; };
/ quagga / { p; d; };
/ dropbear / { p; d; };
/ rsync / { p; d; };
/ curl / { p; d; };
/ bglibs / { p; d; };
/ bcron / { p; d; };
/ madwifi / { p; d; };
/ wireless-tools / { p; d; };
/ hostap / { p; d; };
EOT
case "$SDECFG_TARGET_EMBEDDED_STYLE" in
dietlibc)
cat >> $tmp <<-EOT
/ dietlibc / { p; d; };
EOT
;;
*)
cat >> $tmp <<-EOT
/ uclibc / { p; d; };
EOT
;;
esac
cat >> $tmp <<-EOT
# disable the rest
/.*/ { s/^X /O / ; p; d; };
EOT
sed -f $tmp
rm $tmp
}
pkgfilter embedded_pkgfilter
SDECFGSET_PKGFILE_TYPE='tarbz2'
SDECFGSET_PKGFILE_VER=0
# we must set it here, since the logic pkgenables the selected libc
SDECFGSET_LIBC="$SDECFG_TARGET_EMBEDDED_STYLE"
#SDECFGSET_DIETLIBC_DYN=0
[ $SDECFG_TARGET_EMBEDDED_STYLE == dietlibc ] && SDECFGSET_STATIC=1
SDECFGSET_INIT='minit'
SDECFGSET_OPT='size'
SDECFGSET_DO_REBUILD_STAGE=0
SDECFGSET_DISABLE_NLS=1
SDECFGSET_PKG_BUSYBOX_SYMLINKS=1

+ 0
- 5
target/wrt2/rootfs/etc/fstab

@ -1,5 +0,0 @@
none /dev/pts devpts defaults
none /dev/shm ramfs defaults
/proc /proc proc defaults
none /sys sysfs defaults
#none /tmp tmpfs defaults

+ 0
- 1
target/wrt2/rootfs/etc/group

@ -1 +0,0 @@
root:x:0:

+ 0
- 7
target/wrt2/rootfs/etc/issue

@ -1,7 +0,0 @@
T2 based embedded system. http://www.t2-project.org/
\t \d -- \U online -- line [\l].
Welcome to \n (T2 - Kernel \r).
-

+ 0
- 4
target/wrt2/rootfs/etc/minit/default/depends

@ -1,4 +0,0 @@
mountall
hostname
ifconfiglo
fgetty

+ 0
- 1
target/wrt2/rootfs/etc/minit/fgetty/7/params

@ -1 +0,0 @@
tts/0

+ 0
- 0
target/wrt2/rootfs/etc/minit/fgetty/7/respawn


+ 0
- 16
target/wrt2/rootfs/etc/minit/fgetty/7/run

@ -1,16 +0,0 @@
#!/bin/sh
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/wrt2/rootfs/etc/minit/fgetty/7/run
# Copyright (C) 2006 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This program 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; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- T2-COPYRIGHT-NOTE-END ---
exec /sbin/fgetty $*

+ 0
- 9
target/wrt2/rootfs/etc/minit/fgetty/depends

@ -1,9 +0,0 @@
kbd
hwclock
fgetty/1
fgetty/2
fgetty/3
fgetty/4
fgetty/5
fgetty/6
fgetty/7

+ 0
- 1
target/wrt2/rootfs/etc/minit/hostname/params

@ -1 +0,0 @@
embedded

+ 0
- 1
target/wrt2/rootfs/etc/passwd

@ -1 +0,0 @@
root::0:0:root:/root:/bin/sh

+ 0
- 7
target/wrt2/rootfs/etc/profile

@ -1,7 +0,0 @@
if [ -w / ] ; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin"
fi

Loading…
Cancel
Save