Browse Source

added hppa (parisc) architecture definitions

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1461 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
5ae5119caf
9 changed files with 120 additions and 1 deletions
  1. +2
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +5
    -0
      architecture/hppa/archtest.out
  3. +12
    -0
      architecture/hppa/archtest.sh
  4. +27
    -0
      architecture/hppa/config.hlp
  5. +37
    -0
      architecture/hppa/config.in
  6. +5
    -0
      architecture/hppa/gcc-options
  7. +7
    -0
      architecture/hppa/kernel.conf.m4
  8. +24
    -0
      architecture/hppa/preconfig.in
  9. +1
    -1
      package/base/linux24/lx_config.sh

+ 2
- 0
Documentation/Developers/CHANGELOG-RENE

@ -4,6 +4,8 @@
- Jan Veninga: linux24-header-cross must also be latest linux version
Build-Target does not build broken-flagged packages
- Alejandro Mery: /lib/*.{a,la} -> /usr/lib/, and a related fix to ncurses
- added hppa (parisc) architecture definitions
- sparc kernel and config work
*) 2003-09-18 (2.0.0-rc1 - 2.0.0-rc2)

+ 5
- 0
architecture/hppa/archtest.out

@ -0,0 +1,5 @@
arch_sizeof_short=2
arch_sizeof_int=4
arch_sizeof_long=4
arch_sizeof_long_long=8
arch_bigendian=yes

+ 12
- 0
architecture/hppa/archtest.sh

@ -0,0 +1,12 @@
case "$ROCKCFG_HPPA_BITS" in
32)
arch_machine=hppa
arch_target="hppa-unknown-linux-gnu"
arch_sizeof_char_p=4 ;;
64)
arch_machine=hppa
arch_target="hppa64-unknown-linux-gnu"
arch_sizeof_char_p=8 ;;
esac

+ 27
- 0
architecture/hppa/config.hlp

@ -0,0 +1,27 @@
# --- 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/architecture/sparc/config.hlp
# 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 ---
ROCKCFG_HPPA_BITS
Controls whether to generate 32-bit or 64-bit code.
ROCKCFG_HPPA_OPT
Please select the CPU you want to optimise for.

+ 37
- 0
architecture/hppa/config.in

@ -0,0 +1,37 @@
# --- 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/architecture/sparc/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 ---
# Advanced SPARC options and 64 bit work by Rene Rebe
# General architecture switch
choice ROCKCFG_HPPA_BITS 32 \
32 "build 32 bit code" \
64 "build 64 bit code"
# Now the optimisations that result from the options above
choice ROCKCFG_HPPA_OPT generic \
generic "No special optimisation"
if [ "$ROCKCFG_HPPA_OPT" != generic ] ; then
ROCKCFG_ID="$ROCKCFG_ID-$ROCKCFG_HPPA_OPT"
fi

+ 5
- 0
architecture/hppa/gcc-options

@ -0,0 +1,5 @@
if [ "$ROCKCFG_SPARC_OPT" != "generic" ] ; then
var_append GCC_WRAPPER_INSERT " " "-mcpu=$ROCKCFG_SPARC_OPT"
fi

+ 7
- 0
architecture/hppa/kernel.conf.m4

@ -0,0 +1,7 @@
# TO BE DONE
include(`kernel-common.conf')
include(`kernel-scsi.conf')
include(`kernel-net.conf')
include(`kernel-fs.conf')

+ 24
- 0
architecture/hppa/preconfig.in

@ -0,0 +1,24 @@
# --- 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/architecture/sparc/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 ---
CFGTEMP_ARCHLIST="$CFGTEMP_ARCHLIST hppa Generic_HPPA_Workstations"

+ 1
- 1
package/base/linux24/lx_config.sh

@ -25,7 +25,7 @@ archdir="$base/download/$repository/linux$treever"
srctar="linux-${vanilla_ver}.tar.bz2"
lx_cpu=`echo "$arch_machine" | sed -e s/x86/i386/ \
-e s/i.86/i386/ -e s/powerpc/ppc/`
-e s/i.86/i386/ -e s/powerpc/ppc/ -e s/hppa/parisc/`
[ $arch = sparc -a "$ROCKCFG_SPARC_64BIT_KERNEL" = 1 ] && \
lx_cpu=sparc64

Loading…
Cancel
Save