aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/conf/files.amd648
-rw-r--r--sys/conf/files.i3868
-rw-r--r--sys/conf/files.x8614
3 files changed, 22 insertions, 8 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
index 05329034e3c2..4eba1f33d27f 100644
--- a/sys/conf/files.amd64
+++ b/sys/conf/files.amd64
@@ -3,6 +3,10 @@
#
# $FreeBSD$
#
+
+# common files stuff between i386 and amd64
+include "conf/files.x86"
+
# The long compile-with and dependency lines are required because of
# limitations in config: backslash-newline doesn't work in strings, and
# dependency lines other than the first are silently ignored.
@@ -298,10 +302,6 @@ dev/ixl/i40e_adminq.c optional ixl pci | iavf pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
dev/ixl/i40e_dcb.c optional ixl pci \
compile-with "${NORMAL_C} -I$S/dev/ixl"
-dev/fdc/fdc.c optional fdc
-dev/fdc/fdc_acpi.c optional fdc
-dev/fdc/fdc_isa.c optional fdc isa
-dev/fdc/fdc_pccard.c optional fdc pccard
dev/gpio/bytgpio.c optional bytgpio
dev/gpio/chvgpio.c optional chvgpio
dev/hpt27xx/hpt27xx_os_bsd.c optional hpt27xx
diff --git a/sys/conf/files.i386 b/sys/conf/files.i386
index 73c1f88a6918..7f7a7bb4a706 100644
--- a/sys/conf/files.i386
+++ b/sys/conf/files.i386
@@ -3,6 +3,10 @@
#
# $FreeBSD$
#
+
+# common files stuff between i386 and amd64
+include "conf/files.x86"
+
# The long compile-with and dependency lines are required because of
# limitations in config: backslash-newline doesn't work in strings, and
# dependency lines other than the first are silently ignored.
@@ -208,10 +212,6 @@ dev/fb/fb.c optional fb | vga
dev/fb/s3_pci.c optional s3pci
dev/fb/vesa.c optional vga vesa
dev/fb/vga.c optional vga
-dev/fdc/fdc.c optional fdc
-dev/fdc/fdc_acpi.c optional fdc
-dev/fdc/fdc_isa.c optional fdc isa
-dev/fdc/fdc_pccard.c optional fdc pccard
dev/fe/if_fe_isa.c optional fe isa
dev/glxiic/glxiic.c optional glxiic
dev/glxsb/glxsb.c optional glxsb
diff --git a/sys/conf/files.x86 b/sys/conf/files.x86
new file mode 100644
index 000000000000..edd36ad74a5e
--- /dev/null
+++ b/sys/conf/files.x86
@@ -0,0 +1,14 @@
+# This file tells config what files go into building a kernel,
+# files marked standard are always included.
+#
+# $FreeBSD$
+#
+# This file contains all the x86 devices and such that are
+# common between i386 and amd64, but aren't applicable to
+# any other architecture we support.
+#
+
+dev/fdc/fdc.c optional fdc
+dev/fdc/fdc_acpi.c optional fdc
+dev/fdc/fdc_isa.c optional fdc isa
+dev/fdc/fdc_pccard.c optional fdc pccard