Fix a few problems related to building modules in /sys/modules (not

checked whether this applies to builds in /sys/*/compile/* as well):

- Create empty opt_*.h files were missing
- Hook up svr4 to the build. It compiles fine here, so no reason to
  disconnect it in the Makefile. were missing
  - Hook up svr4 to the build. It compiles fine here, so no reason to
    disconnect it in the Makefile.
This commit is contained in:
Nick Hibma 2009-02-12 14:44:15 +00:00
parent be0d073bd7
commit 999d258466
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188516
6 changed files with 7 additions and 4 deletions

View File

@ -259,6 +259,7 @@ SUBDIR= ${_3dfx} \
${_stg} \
stge \
${_streams} \
svr4 \
sym \
${_syscons} \
sysvipc \

View File

@ -58,7 +58,7 @@ SRCS+= cpufreq_if.h device_if.h isa_if.h pci_if.h pcib_if.h
# XXX ACPI should not depend on the following headers but this is currently
# needed for the build of assym.s.
# This obviously needs a better and more structural fix.
SRCS+= opt_kstack_pages.h opt_nfs.h opt_apic.h opt_compat.h
SRCS+= opt_kstack_pages.h opt_nfs.h opt_apic.h opt_compat.h opt_hwpmc_hooks.h
# Debugging support
DBSRC= dbcmds.c dbdisply.c dbexec.c dbfileio.c dbhistry.c dbinput.c dbstats.c

View File

@ -15,7 +15,7 @@ SRCS+= agp_amd64.c
SRCS+= agp_amd64.c agp_i810.c agp_via.c
.endif
SRCS+= device_if.h bus_if.h agp_if.h pci_if.h
SRCS+= opt_bus.h
SRCS+= opt_agp.h opt_bus.h
MFILES= kern/device_if.m kern/bus_if.m dev/agp/agp_if.m dev/pci/pci_if.m
WERROR=

View File

@ -23,7 +23,7 @@ SRCS+= bus_if.h device_if.h vnode_if.h
SRCS+= assym.s
# These are needed for assym.s
SRCS+= opt_compat.h opt_kstack_pages.h opt_nfs.h
SRCS+= opt_compat.h opt_kstack_pages.h opt_nfs.h opt_hwpmc_hooks.h
.if ${MACHINE_ARCH} == "i386"
SRCS+= opt_apic.h

View File

@ -17,7 +17,7 @@ SRCS= linux${SFX}_dummy.c linux_emul.c linux_file.c \
device_if.h bus_if.h assym.s
# XXX: for assym.s
SRCS+= opt_kstack_pages.h opt_nfs.h opt_apic.h opt_compat.h
SRCS+= opt_kstack_pages.h opt_nfs.h opt_apic.h opt_compat.h opt_hwpmc_hooks.h
OBJS= linux${SFX}_locore.o linux${SFX}_support.o

View File

@ -9,6 +9,8 @@ SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_mac.h opt_svr4.h \
svr4_machdep.c svr4_resource.c svr4_ipc.c
OBJS= svr4_locore.o
SRCS+= opt_ktrace.h opt_sysvipc.h opt_route.h
CLEANFILES= svr4_assym.h svr4_genassym.o
svr4_assym.h: svr4_genassym.o