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.
This commit is contained in:
Thomas Moestl 2002-09-07 18:02:18 +00:00
parent e47ffe1fd4
commit 27d29f428c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103075
2 changed files with 3 additions and 2 deletions

View File

@ -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=

View File

@ -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