Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 22 years ago
parent
commit
dd2ab3ba5d
15 changed files with 1427 additions and 0 deletions
  1. +1
    -0
      architecture/x86/config.in
  2. +5
    -0
      architecture/x86/gcc-options
  3. +17
    -0
      target/epiam/ROCKepia-howto
  4. +22
    -0
      target/epiam/XF86Config
  5. +27
    -0
      target/epiam/build.sh
  6. +167
    -0
      target/epiam/config.in
  7. +3
    -0
      target/epiam/download.txt
  8. +1122
    -0
      target/epiam/linux.cfg
  9. +12
    -0
      target/epiam/pkg_gcc3.patch
  10. +1
    -0
      target/epiam/pkg_linux24-header.conf
  11. +1
    -0
      target/epiam/pkg_linux24-src.conf
  12. +5
    -0
      target/epiam/pkg_linux24.conf
  13. +6
    -0
      target/epiam/pkg_mplayer.conf
  14. +9
    -0
      target/epiam/pkg_xfree86.conf
  15. +29
    -0
      target/epiam/preconfig.in

+ 1
- 0
architecture/x86/config.in

@ -32,6 +32,7 @@ if [ "$ROCKCFG_X86_BITS" = 32 ] ; then
i386 "Optimised for Intel 386" \
i486 "Optimised for Intel 486" \
via-c3 "Optimised for VIA CyrixIII/VIA-C3" \
via-c3-improved "Improved for VIA CyrixIII/VIA-C3" \
via-c3-2 "Optimised for VIA-C3-2 Nemiah" \
pentium "Optimised for Intel Pentium" \
pentium-mmx "Optimised for Intel Pentium with MMX" \

+ 5
- 0
architecture/x86/gcc-options

@ -3,6 +3,9 @@ case "$ROCKCFG_X86_OPT" in
generic) ;;
via-c3)
var_append GCC3_WRAPPER_INSERT " " "-march=k62" ;;
via-c3-improved)
#var_append GCC3_WRAPPER_INSERT " " "-s -O3 -march=i686 -fomit-frame-pointer -falign-functions=4 -funroll-loops -fexpensive-optimizations -malign-double -fschedule-insns2" ;;
var_append GCC3_WRAPPER_INSERT " " "-march=i686" ;;
via-c3-2)
var_append GCC3_WRAPPER_INSERT " " "-march=pentium-mmx" ;;
k6*)
@ -26,5 +29,7 @@ case "$ROCKCFG_X86_OPT" in
k6*|athlon*|via-c3)
var_append GCC2_WRAPPER_INSERT " " "-march=k6" ;;
via-c3-improved)
var_append GCC2_WRAPPER_INSERT " " "-march=i686" ;;
esac

+ 17
- 0
target/epiam/ROCKepia-howto

@ -0,0 +1,17 @@
- choose via-c3-improved
- use custom kernel config
- make sure libddmpeg is built
includes
- 2.4.24 -epia patch
- libdmpeg
- via-dri driver for X
- updated via driver for X
- optimization for i686 without cmov (patched gcc/glibc)
sources:
http://www.alterself.com/~epia/wiki/tiki-index.php?page=EpiaHowto
http://www.ivor.it/cle266/
http://epia.std-err.de/
http://www.shipmail.org/~thomas/via/
http://www.viaarena.com/?PageID=373

+ 22
- 0
target/epiam/XF86Config

@ -0,0 +1,22 @@
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "drm"
Load "dri" #Load the dri module
EndSection
Section "DRI"
Section "Device"
Identifier "device1"
Driver "via"
Option "DPMS"
Option "TVType" "PAL" #use "TVType" "NTSC" in North America *)
Option "TVVScan" "over"
Option "TVOutput" "S-Video"
Option "ActiveDevice" "CRT,TV"
EndSection

+ 27
- 0
target/epiam/build.sh

@ -0,0 +1,27 @@
# This is the shortest possible target build.sh script. Some targets will
# add code after calling pkgloop() or modify pkgloop's behavior by defining
# a new pkgloop_action() function.
#
pkgloop
echo_header "Finishing build."
echo_status "Creating package database ..."
admdir="build/${ROCKCFG_ID}/root/var/adm"
create_package_db $admdir build/${ROCKCFG_ID}/pkgs \
build/${ROCKCFG_ID}/packages.db
echo_status "Creating isofs.txt file .."
cat << EOT > build/${ROCKCFG_ID}/isofs.txt
DISK1 $admdir/cache/ ${ROCKCFG_SHORTID}/info/cache/
DISK1 $admdir/cksums/ ${ROCKCFG_SHORTID}/info/cksums/
DISK1 $admdir/dependencies/ ${ROCKCFG_SHORTID}/info/dependencies/
DISK1 $admdir/descs/ ${ROCKCFG_SHORTID}/info/descs/
DISK1 $admdir/flists/ ${ROCKCFG_SHORTID}/info/flists/
DISK1 $admdir/md5sums/ ${ROCKCFG_SHORTID}/info/md5sums/
DISK1 $admdir/packages/ ${ROCKCFG_SHORTID}/info/packages/
EVERY build/${ROCKCFG_ID}/packages.db ${ROCKCFG_SHORTID}/packages.db
SPLIT build/${ROCKCFG_ID}/pkgs/ ${ROCKCFG_SHORTID}/pkgs/
EOT

+ 167
- 0
target/epiam/config.in

@ -0,0 +1,167 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/target/epiam/config.in
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# 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; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
pkgfilter sed '
# Disable packages
/ sendmail / { s/^X /O /p; d; };
/ workbone / { s/^X /O /p; d; };
/ ifhp / { s/^X /O /p; d; };
# / xv / { s/^X /O /p; d; };
/ wu-ftp / { s/^X /O /p; d; };
/ gcc2 / { s/^X /O /p; d; };
/ linux26* / { s/^X /O /p; d; };
/ module-init-tools / { s/^X /O /p; d; };
/ bootsplash / { s/^X /O /p; d; };
# Select some packages (and repositories) explicitely
/ base / { p; d; };
/ alpha / { p; d; };
/ mips / { p; d; };
/ powerpc / { p; d; };
/ sparc / { p; d; };
/ x86 / { p; d; };
/ x11 / { p; d; };
/ kde31 / { p; d; };
/ gnome14 / { p; d; };
/ gnome24 / { p; d; };
/ rene / { p; d; };
/ clifford / { p; d; };
/ daniel / { p; d; };
/ avm / { p; d; };
# compatibility stuff (e.g. mozilla, ogle)
# left here for the case we remove gnome14 above later
/ glib12 / { p; d; };
/ gtk+12 / { p; d; };
/ libglade10 / { p; d; };
/ orbit10 / { p; d; };
/ gimp12 / { p; d; };
/ gimp-print42 / { p; d; };
/ galeon12 / { p; d; };
# alesandro repository
/ vsftpd / { p; d; };
/ php / { p; d; };
# mnemoc repository
/ openldap / { p; d; };
/ perl-libxml / { p; d; };
# kasc repository - (mostly) games
/ kasc / { p; d; };
# blindcoder repository
/ kino / { p; d; };
/ libavc1394 / { p; d; };
/ libraw1394 / { p; d; };
/ irssi / { p; d; };
/ libsdl / { p; d; };
/ libebml / { p; d; };
/ libmatroska / { p; d; }
# blindcoder and kasc repository
/ libsdl.* / { p; d; };
# esden repository
/ w3m / { p; d; };
/ wvdial / { p; d; };
/ povray35 / { p; d; };
/ wavemon / { p; d; };
# fake repository (currently) only contians useful stuff
# maybe opt-out stuff in the future
/ fake / { p; d; };
# jimmy repository
/ divx4linux / { p; d; };
/ mplayer / { p; d; };
/ mplayer-fonts / { p; d; };
/ umix / { p; d; };
# jsaw repository
/ openjade / { p; d; };
/ libmusicbrainz / { p; d; };
# preanti repository
/ libmikmod / { p; d; };
/ ddd / { p; d; };
/ nedit / { p; d; };
# misc repository
/ centericq / { s/^X /O /p; d; }
/ openbox / { s/^X /O /p; d; }
/ zsh / { s/^X /O /p; d; }
/ misc / { p; d; };
# michiel repository
/ blackbox / { p; d; };
/ bbkeys / { p; d; };
/ librsync / { p; d; };
/ duplicity / { p; d; };
# tsa
/ ethereal / { p; d; };
/ ettercap / { p; d; };
# mathieu repository
/ xcdroast / { p; d; };
# tibit repository
/ ctags / { p; d; };
/ dvgrab / { p; d; };
/ dvdrip / { p; d; };
/ fvwm / { p; d; };
/ libchipcard / { p; d; };
/ pcsc-lite / { p; d; };
/ libdv / { p; d; };
/ libstroke / { p; d; };
/ mjpegtools / { p; d; };
/ nvrec / { p; d; };
/ openhbci / { p; d; };
/ towitoko / { p; d; };
/ xvid / { p; d; };
/ pilot-link / { p; d; };
# nikolaus repository
/ flac / { p; d; };
/ cheapskatefonts / { p; d; };
/ rdesktop / { p; d; };
/ spice / { p; d; };
/ tsclient / { p; d; };
# Disable the rest
/.*/ { s/^X /O / ; p; d; };'
ROCKCFG_X86_OPT='via-c3-improved'
ROCKCFGSET_CREATE_TARBZ2=0
ROCKCFGSET_CREATE_GEM=1
ROCKCFGSET_DIETLIBC=0
ROCKCFGSET_DO_REBUILD_STAGE=0
ROCKCFGSET_CREATE_DOCS=1
ROCKCFGSET_DISABLE_NLS=0
ROCKCFG_PKG_MPLAYER_RUN_CPUDETECT=0

+ 3
- 0
target/epiam/download.txt

@ -0,0 +1,3 @@
0 2.4.26-epia.diff.bz2 http://home.in.tum.de/~meiera/projects/rocklinux/download/epiam/
0 pkg_xfree86.patch.bz2 http://home.in.tum.de/~meiera/projects/rocklinux/download/epiam/
0 via_dri.so.bz2 http://www.shipmail.org/~thomas/via/dri/

+ 1122
- 0
target/epiam/linux.cfg
File diff suppressed because it is too large
View File


+ 12
- 0
target/epiam/pkg_gcc3.patch

@ -0,0 +1,12 @@
diff -ruN gcc-3.4.0/gcc/config/i386/i386.c gcc-3.4.0-new/gcc/config/i386/i386.c
--- gcc-3.4.0/gcc/config/i386/i386.c 2004-06-03 10:16:53.357355576 +0200
+++ gcc-3.4.0-new/gcc/config/i386/i386.c 2004-06-03 10:17:57.661579848 +0200
@@ -477,7 +477,7 @@
const int x86_double_with_add = ~m_386;
const int x86_use_bit_test = m_386;
const int x86_unroll_strlen = m_486 | m_PENT | m_PPRO | m_ATHLON_K8 | m_K6;
-const int x86_cmove = m_PPRO | m_ATHLON_K8 | m_PENT4;
+const int x86_cmove = m_ATHLON_K8 | m_PENT4;
const int x86_3dnow_a = m_ATHLON_K8;
const int x86_deep_branch = m_PPRO | m_K6 | m_ATHLON_K8 | m_PENT4;
const int x86_branch_hints = m_PENT4;

+ 1
- 0
target/epiam/pkg_linux24-header.conf

@ -0,0 +1 @@
. $targetdir/pkg_linux24.conf

+ 1
- 0
target/epiam/pkg_linux24-src.conf

@ -0,0 +1 @@
. $targetdir/pkg_linux24.conf

+ 5
- 0
target/epiam/pkg_linux24.conf

@ -0,0 +1,5 @@
# special adaptions for the epia target
echo_status "Customizing for EPIA-M Target ..."
[ -e $confdir/$pkg.conf ] && . $confdir/$pkg.conf
var_append patchfiles " " $base/download/epiam/2.4.26-epia.diff.bz2

+ 6
- 0
target/epiam/pkg_mplayer.conf

@ -0,0 +1,6 @@
# special adaptions for the epia target
[ -e $confdir/$pkg.conf ] && . $confdir/$pkg.conf
var_append confopt " " "--disable-runtime-cpudetection --enable-sse --enable-mmx --enable-3dnow --target=i686-linux"
echo_status "Customizing for EPIA-M Target ..."

+ 9
- 0
target/epiam/pkg_xfree86.conf

@ -0,0 +1,9 @@
# special adaptions for the epia target
echo_status "Customizing for EPIA-M Target ..."
[ -e $confdir/$pkg.conf ] && . $confdir/$pkg.conf
var_append patchfiles " " $base/download/epiam/pkg_xfree86.patch.bz2
[ -f $base/download/epiam/via_dri.so.bz2 ] && \
hook_add postinstall 9 "bzcat $base/download/epiam/via_dri.so.bz2 > \
$root/$prefix/X11R6/lib/modules/dri/via_dri.so"

+ 29
- 0
target/epiam/preconfig.in

@ -0,0 +1,29 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/target/generic/preconfig.in
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# 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; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
# http://epia.std-err.de/ good source of info
CFGTEMP_TARGETLIST="$CFGTEMP_TARGETLIST epiam ROCK_Linux_for_VIA_EPIA_M"
ROCKCFG_KERNEL_BOOTSPLASH='1'
ROCKCFG_PKG_LINUX_CUSTCONFIG='1'
# export CFLAGS="-s -O3 -march=i686 -fomit-frame-pointer -falign-functions=4 -funroll-loops -fexpensive-optimizations -malign-double -fschedule-insns2"

Loading…
Cancel
Save