Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
eabb23e999
5 changed files with 21 additions and 47 deletions
  1. +14
    -7
      package/base/linux/linux.conf
  2. +6
    -1
      package/sparc/silo/etc-silo.conf
  3. +0
    -34
      package/sparc/silo/register-pseudoop.patch
  4. +0
    -4
      package/sparc/silo/silo.setup
  5. +1
    -1
      target/bootdisk/sparc/silo.conf

+ 14
- 7
package/base/linux/linux.conf

@ -359,12 +359,12 @@ main_lx_header() {
else
# we can only generate this files when we have a cross compiler
# which is stage 1 and above ...
if [ $stagelevel -gt 0 -a $treever != 26 ] ; then
if [ $stagelevel -gt 0 -a $treever != 26 ] ; then
# build two generated headers first ...
make ARCH=sparc CROSS_COMPILE=$archprefix KCC=$KCC \
arch/sparc/kernel/Makefile check_asm
[ $lx_cpu = sparc64 ] && \
make ARCH=sparc64 CROSS_COMPILE=$archprefix KCC=$KCC \
make ARCH=sparc64 CROSS_COMPILE=$archprefix KCC=sparc64-unknown-linux-gnu-gcc \
arch/sparc64/kernel/Makefile check_asm
fi
@ -431,14 +431,21 @@ main_lx() {
done
;;
sparc)
if [[ $treever != 24* ]] && [ "$ROCKCFG_SPARC_BITS" = 32 ]] ; then
eval $MAKE image
else
if [ "$treever" = 24 ] ; then
eval $MAKE vmlinux
else
eval $MAKE image
fi
cp -vf vmlinux $root/boot/vmlinux_$ver-rock
cp -vf vmlinux $root/boot/vmlinux32_${lx_kernelrelease}
[ "$default" ] && \
cp -vf vmlinux $root/boot/vmlinux
gzip -9 < vmlinux > $root/boot/vmlinux32.gz
;;
sparc64)
eval $MAKE vmlinux
cp -vf vmlinux $root/boot/vmlinux64_${lx_kernelrelease}
[ "$default" ] && \
gzip -9 < vmlinux > $root/boot/vmlinux64.gz
;;
um)
eval $MAKE linux

+ 6
- 1
package/sparc/silo/etc-silo.conf

@ -8,7 +8,12 @@ read-only
default=rock
# should be failsafe...
image=/boot/vmlinux
image[sun4c,sun4d,sun4m]=/boot/vmlinux32.gz
label = rock
root = "/dev/discs/disc0/part1"
read-only
image[sun4u]=/boot/vmlinux64.gz
label = rock
root = "/dev/discs/disc0/part1"
read-only

+ 0
- 34
package/sparc/silo/register-pseudoop.patch

@ -1,34 +0,0 @@
--- ./common/udivdi3.S.orig 2004-06-28 21:23:18.727522472 +0200
+++ ./common/udivdi3.S 2004-06-28 21:24:00.399187416 +0200
@@ -17,6 +17,8 @@
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ .register %g2,#scratch
+
.text
.align 4
.globl __udivdi3
--- ./second/muldi3.S.orig 2004-06-28 21:29:22.416233384 +0200
+++ ./second/muldi3.S 2004-06-28 21:29:44.663851232 +0200
@@ -17,6 +17,8 @@
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ .register %g2,#scratch
+
.text
.align 4
.globl __muldi3
--- ./common/divdi3.S.orig 2004-06-28 21:21:26.144637672 +0200
+++ ./common/divdi3.S 2004-06-28 21:21:52.257667888 +0200
@@ -17,6 +17,9 @@
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+ .register %g3,#scratch
+ .register %g2,#scratch
+
.data
.align 8
.globl __clz_tab

+ 0
- 4
package/sparc/silo/silo.setup

@ -32,10 +32,6 @@ case "$in" in
{ echo -e '# silo.conf - autogenerated by rocklinux'
echo -e 'boot=/dev/discs/disc0/disc\ndelay=100\ndefault=rock\n'
echo -e '# failsafe method, for the time until both kernels work\n'
echo -e 'image=/boot/vmlinux32.gz\n\tlabel=rock'
echo -e '\troot="'$rootdev'"\n\tread-only'
echo -e '# autoselection sparc v.8 kernel (Sparc, MicroSparc,SuperSparc, HyperSparc)\n'
echo -e 'image[sun4c,sun4d,sun4m]=/boot/vmlinux32.gz\n\tlabel=rock32'
echo -e '\troot="'$rootdev'"\n\tread-only'

+ 1
- 1
target/bootdisk/sparc/silo.conf

@ -17,6 +17,6 @@ image="cat /boot/help1.txt"
image[sun4u]=/boot/vmlinux64.gz
label=install
alias=linux
image[sun4c,sun4d,sun4m]=/boot/vmlinux.gz
image[sun4c,sun4d,sun4m]=/boot/vmlinux32.gz
label=install
alias=linux

Loading…
Cancel
Save