Add support for compiling SVR4 as a static module
("AND THE CROWD GOES... uh.") Tested by: Joerg Wunsch <joerg_wunsch@interface-business.de>
This commit is contained in:
parent
fed48464cc
commit
09e5e156c4
@ -13,12 +13,24 @@ linux_genassym optional compat_linux \
|
||||
no-obj no-implicit-rule \
|
||||
clean "linux_genassym"
|
||||
#
|
||||
svr4_genassym optional compat_svr4 \
|
||||
dependency "$S/i386/svr4/svr4_genassym.c $S/svr4/svr4.h" \
|
||||
compile-with "${CC} ${CFLAGS} ${PARAM} -UKERNEL -o $@ $<" \
|
||||
no-obj no-implicit-rule \
|
||||
clean "svr4_genassym"
|
||||
#
|
||||
linux_assym.h optional compat_linux \
|
||||
dependency "linux_genassym" \
|
||||
compile-with "./linux_genassym > $@" \
|
||||
no-obj no-implicit-rule before-depend \
|
||||
clean "linux_assym.h"
|
||||
#
|
||||
svr4_assym.h optional compat_svr4 \
|
||||
dependency "svr4_genassym" \
|
||||
compile-with "./svr4_genassym > $@" \
|
||||
no-obj no-implicit-rule before-depend \
|
||||
clean "svr4_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 \
|
||||
@ -337,6 +349,26 @@ i386/linux/linux_stats.c optional compat_linux
|
||||
i386/linux/linux_sysent.c optional compat_linux
|
||||
i386/linux/linux_sysvec.c optional compat_linux
|
||||
i386/linux/linux_util.c optional compat_linux
|
||||
svr4/imgact_svr4.c optional compat_svr4
|
||||
svr4/svr4_fcntl.c optional compat_svr4
|
||||
svr4/svr4_filio.c optional compat_svr4
|
||||
svr4/svr4_ioctl.c optional compat_svr4
|
||||
svr4/svr4_ipc.c optional compat_svr4
|
||||
svr4/svr4_misc.c optional compat_svr4
|
||||
svr4/svr4_resource.c optional compat_svr4
|
||||
svr4/svr4_signal.c optional compat_svr4
|
||||
svr4/svr4_socket.c optional compat_svr4
|
||||
svr4/svr4_sockio.c optional compat_svr4
|
||||
svr4/svr4_stat.c optional compat_svr4
|
||||
svr4/svr4_stream.c optional compat_svr4
|
||||
svr4/svr4_syscallnames.c optional compat_svr4
|
||||
svr4/svr4_sysent.c optional compat_svr4
|
||||
svr4/svr4_sysvec.c optional compat_svr4
|
||||
svr4/svr4_termios.c optional compat_svr4
|
||||
svr4/svr4_ttold.c optional compat_svr4
|
||||
i386/svr4/svr4_locore.s optional compat_svr4 \
|
||||
dependency "svr4_assym.h"
|
||||
i386/svr4/svr4_machdep.c optional compat_svr4
|
||||
i4b/layer1/i4b_asuscom_ipac.c optional isic
|
||||
i4b/layer1/i4b_avm_a1.c optional isic
|
||||
i4b/layer1/i4b_avm_fritz_pci.c optional isic
|
||||
|
@ -12,6 +12,9 @@ COMPAT_LINUX opt_dontuse.h
|
||||
|
||||
DEBUG_LINUX opt_linux.h
|
||||
|
||||
COMPAT_SVR4 opt_svr4.h
|
||||
DEBUG_SVR4 opt_svr4.h
|
||||
|
||||
PPC_DEBUG opt_ppc.h
|
||||
|
||||
SHOW_BUSYBUFS
|
||||
|
@ -13,12 +13,24 @@ linux_genassym optional compat_linux \
|
||||
no-obj no-implicit-rule \
|
||||
clean "linux_genassym"
|
||||
#
|
||||
svr4_genassym optional compat_svr4 \
|
||||
dependency "$S/i386/svr4/svr4_genassym.c $S/svr4/svr4.h" \
|
||||
compile-with "${CC} ${CFLAGS} ${PARAM} -UKERNEL -o $@ $<" \
|
||||
no-obj no-implicit-rule \
|
||||
clean "svr4_genassym"
|
||||
#
|
||||
linux_assym.h optional compat_linux \
|
||||
dependency "linux_genassym" \
|
||||
compile-with "./linux_genassym > $@" \
|
||||
no-obj no-implicit-rule before-depend \
|
||||
clean "linux_assym.h"
|
||||
#
|
||||
svr4_assym.h optional compat_svr4 \
|
||||
dependency "svr4_genassym" \
|
||||
compile-with "./svr4_genassym > $@" \
|
||||
no-obj no-implicit-rule before-depend \
|
||||
clean "svr4_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 \
|
||||
@ -337,6 +349,26 @@ i386/linux/linux_stats.c optional compat_linux
|
||||
i386/linux/linux_sysent.c optional compat_linux
|
||||
i386/linux/linux_sysvec.c optional compat_linux
|
||||
i386/linux/linux_util.c optional compat_linux
|
||||
svr4/imgact_svr4.c optional compat_svr4
|
||||
svr4/svr4_fcntl.c optional compat_svr4
|
||||
svr4/svr4_filio.c optional compat_svr4
|
||||
svr4/svr4_ioctl.c optional compat_svr4
|
||||
svr4/svr4_ipc.c optional compat_svr4
|
||||
svr4/svr4_misc.c optional compat_svr4
|
||||
svr4/svr4_resource.c optional compat_svr4
|
||||
svr4/svr4_signal.c optional compat_svr4
|
||||
svr4/svr4_socket.c optional compat_svr4
|
||||
svr4/svr4_sockio.c optional compat_svr4
|
||||
svr4/svr4_stat.c optional compat_svr4
|
||||
svr4/svr4_stream.c optional compat_svr4
|
||||
svr4/svr4_syscallnames.c optional compat_svr4
|
||||
svr4/svr4_sysent.c optional compat_svr4
|
||||
svr4/svr4_sysvec.c optional compat_svr4
|
||||
svr4/svr4_termios.c optional compat_svr4
|
||||
svr4/svr4_ttold.c optional compat_svr4
|
||||
i386/svr4/svr4_locore.s optional compat_svr4 \
|
||||
dependency "svr4_assym.h"
|
||||
i386/svr4/svr4_machdep.c optional compat_svr4
|
||||
i4b/layer1/i4b_asuscom_ipac.c optional isic
|
||||
i4b/layer1/i4b_avm_a1.c optional isic
|
||||
i4b/layer1/i4b_avm_fritz_pci.c optional isic
|
||||
|
@ -12,6 +12,9 @@ COMPAT_LINUX opt_dontuse.h
|
||||
|
||||
DEBUG_LINUX opt_linux.h
|
||||
|
||||
COMPAT_SVR4 opt_svr4.h
|
||||
DEBUG_SVR4 opt_svr4.h
|
||||
|
||||
PPC_DEBUG opt_ppc.h
|
||||
|
||||
SHOW_BUSYBUFS
|
||||
|
Loading…
x
Reference in New Issue
Block a user