svn commit: r188516 - in head/sys/modules: . acpi/acpi agp
dtrace/dtrace linux svr4
Nick Hibma
n_hibma at FreeBSD.org
Thu Feb 12 06:44:18 PST 2009
Author: n_hibma
Date: Thu Feb 12 14:44:15 2009
New Revision: 188516
URL: http://svn.freebsd.org/changeset/base/188516
Log:
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.
Modified:
head/sys/modules/Makefile
head/sys/modules/acpi/acpi/Makefile
head/sys/modules/agp/Makefile
head/sys/modules/dtrace/dtrace/Makefile
head/sys/modules/linux/Makefile
head/sys/modules/svr4/Makefile
Modified: head/sys/modules/Makefile
==============================================================================
--- head/sys/modules/Makefile Thu Feb 12 14:41:23 2009 (r188515)
+++ head/sys/modules/Makefile Thu Feb 12 14:44:15 2009 (r188516)
@@ -259,6 +259,7 @@ SUBDIR= ${_3dfx} \
${_stg} \
stge \
${_streams} \
+ svr4 \
sym \
${_syscons} \
sysvipc \
Modified: head/sys/modules/acpi/acpi/Makefile
==============================================================================
--- head/sys/modules/acpi/acpi/Makefile Thu Feb 12 14:41:23 2009 (r188515)
+++ head/sys/modules/acpi/acpi/Makefile Thu Feb 12 14:44:15 2009 (r188516)
@@ -58,7 +58,7 @@ SRCS+= cpufreq_if.h device_if.h isa_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
Modified: head/sys/modules/agp/Makefile
==============================================================================
--- head/sys/modules/agp/Makefile Thu Feb 12 14:41:23 2009 (r188515)
+++ head/sys/modules/agp/Makefile Thu Feb 12 14:44:15 2009 (r188516)
@@ -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=
Modified: head/sys/modules/dtrace/dtrace/Makefile
==============================================================================
--- head/sys/modules/dtrace/dtrace/Makefile Thu Feb 12 14:41:23 2009 (r188515)
+++ head/sys/modules/dtrace/dtrace/Makefile Thu Feb 12 14:44:15 2009 (r188516)
@@ -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
Modified: head/sys/modules/linux/Makefile
==============================================================================
--- head/sys/modules/linux/Makefile Thu Feb 12 14:41:23 2009 (r188515)
+++ head/sys/modules/linux/Makefile Thu Feb 12 14:44:15 2009 (r188516)
@@ -17,7 +17,7 @@ SRCS= linux${SFX}_dummy.c linux_emul.c l
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
Modified: head/sys/modules/svr4/Makefile
==============================================================================
--- head/sys/modules/svr4/Makefile Thu Feb 12 14:41:23 2009 (r188515)
+++ head/sys/modules/svr4/Makefile Thu Feb 12 14:44:15 2009 (r188516)
@@ -9,6 +9,8 @@ SRCS= svr4_sysent.c svr4_sysvec.c opt_co
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
More information about the svn-src-all
mailing list