From 2ba469fe3523a303d09ece603801a7797f8d1983 Mon Sep 17 00:00:00 2001 From: tmm Date: Sat, 7 Sep 2002 18:02:18 +0000 Subject: [PATCH] Unbreak the modules build: - add dependencies on opt_cpu.h and opt_kstack_pages.h to the linux module Makefile in the i386 case. The latter is needed by an i386-only file, the former by the i386 implementation of linux_sysvec.c (opt_cpu.h is used for architecture-dependent options, so I added it only for i386, although this file is also generated for the alpha). - add a dependency on opt_kstack_pages.h to the pecoff module Makefile. --- sys/modules/linux/Makefile | 3 ++- sys/modules/pecoff/Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index d83906013c3b..cb8b98f4c32c 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -13,7 +13,8 @@ SRCS= linux_dummy.c linux_file.c linux_getcwd.c linux_ioctl.c linux_ipc.c \ OBJS= linux_locore.o .if ${MACHINE_ARCH} == "i386" -SRCS+= linux_ptrace.c linux_uid16.c imgact_linux.c +SRCS+= linux_ptrace.c linux_uid16.c imgact_linux.c opt_cpu.h \ + opt_kstack_pages.h .endif EXPORT_SYMS= diff --git a/sys/modules/pecoff/Makefile b/sys/modules/pecoff/Makefile index 3af958e3c703..44e7f620c43e 100644 --- a/sys/modules/pecoff/Makefile +++ b/sys/modules/pecoff/Makefile @@ -5,7 +5,7 @@ MAINTAINER= takawata@FreeBSD.org .PATH: ${.CURDIR}/../../compat/pecoff KMOD= pecoff -SRCS= imgact_pecoff.c opt_pecoff.h vnode_if.h +SRCS= imgact_pecoff.c opt_kstack_pages.h opt_pecoff.h vnode_if.h CFLAGS+= -g -DDEBUG