- change the example of compiling only specific modules to not contain

the linux module, since it is not cross-platform
- move linprocfs from "files" and "options" to architecture specific files,
  since it only makes sense to build this for those architectures, where we
  also have a linuxolator
- disable the build of the linuxolator on our tier-2 architecture "Alpha":
  * we don't have a linux_base port which supports Alpha and at the
    same time is not outdated/obsoleted upstream/in a good condition/
    currently working
  * the upcomming new default linux base port is based upon Fedora
    Core 3 (security support via http://www.fedoralegacy.org), which
    isn't available for Alpha (like the current default linux base
    port which is based upon Red Hat 8)
  * nobody answered my request for testing it ~1 month ago on
    current@ and alpha@ (it doesn't surprises me, see above)
  * a SoC student wouldn't have to waste time on something which
    nobody is willing to test

This does not remove the alpha specific MD files of the linuxolator yet.

Discussed on:		arch (mostly silence)
Spiritual support by:	scottl
This commit is contained in:
Alexander Leidinger 2006-05-07 18:12:18 +00:00
parent 7649f45c3e
commit f4eb471709
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158349
13 changed files with 16 additions and 50 deletions

View File

@ -15,8 +15,7 @@ all:
SALPHA= ${SYS}/alpha/mcbus/*.[ch] ${SYS}/alpha/tlsb/*.[ch] \
${SYS}/alpha/alpha/*.[ch] ${SYS}/alpha/pci/*.[ch] \
${SYS}/alpha/include/*.[ch] ${SYS}/alpha/isa/*.[ch] \
${SYS}/alpha/tc/*.[ch] ${SYS}/alpha/osf1/*.[ch] \
${SYS}/alpha/linux/*.[ch]
${SYS}/alpha/tc/*.[ch] ${SYS}/alpha/osf1/*.[ch]
AALPHA= ${SYS}/alpha/alpha/*.s
tags::

View File

@ -62,10 +62,3 @@ device tga # TGA video card driver
# Enable OSF/1 ABI emulation
options COMPAT_OSF1
# Enable Linux ABI emulation (requires COMPAT_OSF1)
options COMPAT_LINUX
# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
# and PSEUDOFS)
options LINPROCFS

View File

@ -73,8 +73,8 @@ maxusers 10
makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc.
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
#makeoptions KERNEL=foo #Build kernel "foo" and install "/foo"
# Only build Linux API modules and plus those parts of the sound system I need.
#makeoptions MODULES_OVERRIDE="linux sound/sound sound/driver/maestro3"
# Only build ext2fs module plus those parts of the sound system I need.
#makeoptions MODULES_OVERRIDE="ext2fs sound/sound sound/driver/maestro3"
makeoptions DESTDIR=/tmp
#

View File

@ -99,7 +99,6 @@ coda/coda_subr.c optional vcoda
coda/coda_venus.c optional vcoda
coda/coda_vfsops.c optional vcoda
coda/coda_vnops.c optional vcoda
compat/linprocfs/linprocfs.c optional linprocfs
contrib/altq/altq/altq_cbq.c optional altq \
compile-with "${NORMAL_C} -I$S/contrib/pf"
contrib/altq/altq/altq_cdnr.c optional altq

View File

@ -8,18 +8,6 @@
# dependency lines other than the first are silently ignored.
#
#
linux_genassym.o optional compat_linux \
dependency "$S/alpha/linux/linux_genassym.c" \
compile-with "${CC} ${CFLAGS:N-fno-common} -c ${.IMPSRC}" \
no-obj no-implicit-rule \
clean "linux_genassym.o"
#
linux_assym.h optional compat_linux \
dependency "$S/kern/genassym.sh linux_genassym.o" \
compile-with "sh $S/kern/genassym.sh linux_genassym.o > ${.TARGET}" \
no-obj no-implicit-rule before-depend \
clean "linux_assym.h"
#
font.h optional sc_dflt_font \
compile-with "uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x16.fnt && file2c 'static u_char dflt_font_16[16*256] = {' '};' < ${SC_DFLT_FONT}-8x16 > font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x14.fnt && file2c 'static u_char dflt_font_14[14*256] = {' '};' < ${SC_DFLT_FONT}-8x14 >> font.h && uudecode < /usr/share/syscons/fonts/${SC_DFLT_FONT}-8x8.fnt && file2c 'static u_char dflt_font_8[8*256] = {' '};' < ${SC_DFLT_FONT}-8x8 >> font.h" \
no-obj no-implicit-rule before-depend \
@ -96,22 +84,16 @@ alpha/alpha/vm_machdep.c standard
alpha/isa/isa.c optional isa
alpha/isa/isa_dma.c optional isa
alpha/isa/mcclock_isa.c optional isa
alpha/linux/linux_dummy.c optional compat_linux
alpha/linux/linux_locore.s optional compat_linux \
dependency "linux_assym.h"
alpha/linux/linux_machdep.c optional compat_linux
alpha/linux/linux_sysent.c optional compat_linux
alpha/linux/linux_sysvec.c optional compat_linux
alpha/mcbus/mcbus.c optional dec_kn300
alpha/mcbus/mcmem.c optional dec_kn300
alpha/mcbus/mcpcia.c optional dec_kn300
alpha/osf1/imgact_osf1.c optional compat_linux | compat_osf1
alpha/osf1/osf1_ioctl.c optional compat_linux | compat_osf1
alpha/osf1/osf1_misc.c optional compat_linux | compat_osf1
alpha/osf1/osf1_mount.c optional compat_linux | compat_osf1
alpha/osf1/osf1_signal.c optional compat_linux | compat_osf1
alpha/osf1/osf1_sysent.c optional compat_linux | compat_osf1
alpha/osf1/osf1_sysvec.c optional compat_linux | compat_osf1
alpha/osf1/imgact_osf1.c optional compat_osf1
alpha/osf1/osf1_ioctl.c optional compat_osf1
alpha/osf1/osf1_misc.c optional compat_osf1
alpha/osf1/osf1_mount.c optional compat_osf1
alpha/osf1/osf1_signal.c optional compat_osf1
alpha/osf1/osf1_sysent.c optional compat_osf1
alpha/osf1/osf1_sysvec.c optional compat_osf1
alpha/pci/alphapci_if.m optional pci
alpha/pci/apecs.c optional dec_1000a | dec_2100_a50 | \
dec_eb64plus
@ -143,17 +125,6 @@ alpha/tlsb/tlsb.c optional dec_kn8ae
alpha/tlsb/tlsbcpu.c optional dec_kn8ae
alpha/tlsb/tlsbmem.c optional dec_kn8ae
alpha/tlsb/zs_tlsb.c optional dec_kn8ae
compat/linux/linux_file.c optional compat_linux
compat/linux/linux_getcwd.c optional compat_linux
compat/linux/linux_ioctl.c optional compat_linux
compat/linux/linux_ipc.c optional compat_linux
compat/linux/linux_mib.c optional compat_linux
compat/linux/linux_misc.c optional compat_linux
compat/linux/linux_signal.c optional compat_linux
compat/linux/linux_socket.c optional compat_linux
compat/linux/linux_sysctl.c optional compat_linux
compat/linux/linux_stats.c optional compat_linux
compat/linux/linux_util.c optional compat_linux
crypto/blowfish/bf_enc.c optional crypto | ipsec ipsec_esp
crypto/des/des_enc.c optional crypto | ipsec ipsec_esp | \
netsmb

View File

@ -217,6 +217,7 @@ compat/freebsd32/freebsd32_misc.c optional compat_ia32
compat/freebsd32/freebsd32_syscalls.c optional compat_ia32
compat/freebsd32/freebsd32_sysent.c optional compat_ia32
compat/ia32/ia32_sysvec.c optional compat_ia32
compat/linprocfs/linprocfs.c optional linprocfs
kern/imgact_elf32.c optional compat_ia32
#
# Linux/i386 binary support

View File

@ -83,6 +83,7 @@ rr232x_lib.o optional rr232x \
no-implicit-rule
#
#
compat/linprocfs/linprocfs.c optional linprocfs
compat/linux/linux_file.c optional compat_linux
compat/linux/linux_getcwd.c optional compat_linux
compat/linux/linux_ioctl.c optional compat_linux

View File

@ -43,6 +43,7 @@ trlld.o optional oltr \
compile-with "uudecode < $S/contrib/dev/oltr/i386-elf.trlld.o.uu" \
no-implicit-rule
#
compat/linprocfs/linprocfs.c optional linprocfs
compat/linux/linux_file.c optional compat_linux
compat/linux/linux_getcwd.c optional compat_linux
compat/linux/linux_ioctl.c optional compat_linux

View File

@ -178,7 +178,6 @@ CODA opt_dontuse.h
EXT2FS opt_dontuse.h
FDESCFS opt_dontuse.h
HPFS opt_dontuse.h
LINPROCFS opt_dontuse.h
MSDOSFS opt_dontuse.h
NTFS opt_dontuse.h
NULLFS opt_dontuse.h

View File

@ -47,5 +47,4 @@ TIMER_FREQ opt_clock.h
# Options for emulators. These should only be used at config time, so
# they are handled like options for static filesystems
# (see src/sys/conf/options).
COMPAT_LINUX opt_dontuse.h
COMPAT_OSF1 opt_dontuse.h

View File

@ -17,6 +17,7 @@ COMPAT_IA32 opt_compat.h
COMPAT_LINUX32 opt_compat.h
#COMPAT_SVR4 opt_dontuse.h
#DEBUG_SVR4 opt_svr4.h
LINPROCFS opt_dontuse.h
NDISAPI opt_dontuse.h
CLK_CALIBRATION_LOOP opt_clock.h

View File

@ -24,6 +24,7 @@ IBCS2 opt_dontuse.h
COMPAT_LINUX opt_dontuse.h
COMPAT_SVR4 opt_dontuse.h
DEBUG_SVR4 opt_svr4.h
LINPROCFS opt_dontuse.h
NDISAPI opt_dontuse.h
PECOFF_DEBUG opt_pecoff.h
PECOFF_SUPPORT opt_dontuse.h

View File

@ -23,6 +23,7 @@ IBCS2 opt_dontuse.h
COMPAT_LINUX opt_dontuse.h
COMPAT_SVR4 opt_dontuse.h
DEBUG_SVR4 opt_svr4.h
LINPROCFS opt_dontuse.h
PECOFF_DEBUG opt_pecoff.h
PECOFF_SUPPORT opt_dontuse.h