Browse Source

Rene Rebe:

* merged -r2778:HEAD from 2.0-stable branch
	  PowerPC ans SPARC cleanups (ans SPARC 2.6 kernel build fix)


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3058 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
62277935f9
2 changed files with 24 additions and 17 deletions
  1. +17
    -0
      package/base/linux24/arch-ppc-mac-nvram.patch
  2. +7
    -17
      package/base/linux24/linux24.conf

+ 17
- 0
package/base/linux24/arch-ppc-mac-nvram.patch

@ -0,0 +1,17 @@
Erhm - on PPlus I do not want the non-compileable in this config
macintosh/nvram driver ...
- Rene Rebe <rene@rocklinux.org>
--- linux-2.4.25/drivers/macintosh/Makefile.orig 2002-11-29 00:53:13.000000000 +0100
+++ linux-2.4.25/drivers/macintosh/Makefile 2004-04-19 21:51:26.000000000 +0200
@@ -28,7 +28,7 @@
obj-$(CONFIG_PMAC_PBOOK) += mediabay.o
obj-$(CONFIG_MAC_SERIAL) += macserial.o
-ifneq ($(CONFIG_MAC),y)
+ifeq ($(CONFIG_PMAC),y)
obj-$(CONFIG_NVRAM) += nvram.o
endif
obj-$(CONFIG_MAC_HID) += mac_hid.o

+ 7
- 17
package/base/linux24/linux24.conf

@ -75,29 +75,19 @@ main_lx() {
[ "$default" ] && \ [ "$default" ] && \
cp -vf vmlinux $root/boot/vmlinux cp -vf vmlinux $root/boot/vmlinux
eval $MAKE zImage eval $MAKE zImage
# copy some specially pre-processed files with version
echo "before $IFS"
IFS=$' \t\n' # correcly set IFS - it get mangled somewhere ...
echo "after $IFS"
for x in $(cd arch/ppc/boot/images/ ; ls zImage.*) ; do
cp -v arch/ppc/boot/images/$x \
$root/boot/${x/zImage/zImage-$ver}
for x in arch/ppc/boot/images/zImage.* ; do
cp -v $x $root/boot/${x/arch\/ppc\/boot\/images\//}-$ver
done done
;; ;;
sparc) sparc)
eval $MAKE vmlinux
if [ $treever != 24* -a "$ROCKCFG_SPARC_BITS" = 32 ] ; then
eval $MAKE image
else
eval $MAKE vmlinux
fi
cp -vf vmlinux $root/boot/vmlinux_$ver-rock cp -vf vmlinux $root/boot/vmlinux_$ver-rock
[ "$default" ] && \ [ "$default" ] && \
cp -vf vmlinux $root/boot/vmlinux cp -vf vmlinux $root/boot/vmlinux
# build a sun4 kernel ...
#echo "CONFIG_SUN4=y" >> .config
#yes '' | eval $MAKE oldconfig > /dev/null
#eval $MAKE vmlinux
#cp -vf vmlinux $root/boot/vmlinux4_$ver-rock
[ "$default" ] && \
# cp -vf vmlinux $root/boot/vmlinux4
#echo "# CONFIG_SUN4 is not set" >> .config
yes '' | eval $MAKE oldconfig > /dev/null
;; ;;
*) *)
eval $MAKE vmlinux eval $MAKE vmlinux

Loading…
Cancel
Save