From 8b5ec07227b9defd3eb30be2cf5c16d2003fb58f Mon Sep 17 00:00:00 2001 From: Dag-Erling Smørgrav Date: Wed, 17 Jun 2009 14:45:58 +0000 Subject: merge r192852, r192855: opt_apic.h is only used on i386. --- sys/modules/linux/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/modules') diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index 10ec8f26bd4d..402aebf479b2 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -17,7 +17,10 @@ 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 opt_hwpmc_hooks.h +SRCS+= opt_kstack_pages.h opt_nfs.h opt_compat.h opt_hwpmc_hooks.h +.if ${MACHINE_ARCH} == "i386" +SRCS+= opt_apic.h +.endif OBJS= linux${SFX}_locore.o linux${SFX}_support.o -- cgit v1.3