Browse Source

fake:


			
			
				rocklinux
			
			
		
fake 20 years ago
parent
commit
26258d16ec
3 changed files with 33 additions and 10 deletions
  1. +0
    -9
      architecture/mips/kernel.conf.m4
  2. +32
    -0
      architecture/mips/kernel.conf.sh
  3. +1
    -1
      package/base/linux/linux.conf

+ 0
- 9
architecture/mips/kernel.conf.m4

@ -1,9 +0,0 @@
define(`MIPS', `MIPS')dnl
CONFIG_MIPS=y
CONFIG_MIPS32=y
include(`kernel-common.conf')
include(`kernel-scsi.conf')
include(`kernel-net.conf')
include(`kernel-fs.conf')

+ 32
- 0
architecture/mips/kernel.conf.sh

@ -0,0 +1,32 @@
{
cat <<- 'EOT'
define(`MIPS', `MIPS')dnl
CONFIG_MIPS=y
EOT
if [ "$ROCKCFG_MIPS_ABI" = "32" ] ; then
cat <<- 'EOT'
CONFIG_MIPS32=y
EOT
else
cat <<- 'EOT'
CONFIG_MIPS64=y
EOT
fi
if [ "$ROCKCFG_MIPS_ENDIANESS" = "EL" ] ; then
cat <<- 'EOT'
CONFIG_CPU_LITTLE_ENDIAN=y
EOT
fi
cat <<- 'EOT'
include(`kernel-common.conf')
include(`kernel-scsi.conf')
include(`kernel-net.conf')
include(`kernel-fs.conf')
EOT
} | m4 -I $base/architecture/$arch -I $base/architecture/share

+ 1
- 1
package/base/linux/linux.conf

@ -72,7 +72,7 @@ else
-e s/hppa/parisc/ -e s/i.86/i386/ \
-e s/sun4u/sparc64/ -e s/arm.*/arm/ \
-e s/sa110/arm/ -e s/s390x/s390/ \
-e s/parisc64/parisc/ )
-e s/mips.*/mips/ -e s/parisc64/parisc/ )
fi
MAKE="$MAKE ARCH=$lx_cpu CROSS_COMPILE=$archprefix KCC=$KCC"

Loading…
Cancel
Save