Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
This commit is contained in:
parent
f86410093b
commit
65e6076edc
@ -33,7 +33,7 @@
|
||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1994/07/24 02:52:39 mycroft Exp $
|
||||
# $Id: Makefile,v 1.3 1995/03/23 20:13:22 jtc Exp $
|
||||
#
|
||||
|
||||
SRCS=miscmod.c
|
||||
@ -45,7 +45,7 @@ KOBJS=misccall.o
|
||||
MODOBJ=combined.o
|
||||
|
||||
KMOD=miscmod
|
||||
CFLAGS= -DKERNEL -I/sys
|
||||
CFLAGS= -DKERNEL -D_KERNEL -I/sys
|
||||
|
||||
all: $(MODOBJ)
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $Id: Makefile,v 1.2 1994/07/24 02:43:08 mycroft Exp $
|
||||
# $Id: Makefile,v 1.3 1995/03/23 20:13:25 jtc Exp $
|
||||
#
|
||||
|
||||
SRCS=newsyscall.c
|
||||
@ -45,7 +45,7 @@ KOBJS=mycall.o
|
||||
MODOBJ=combined.o
|
||||
|
||||
KMOD=newsyscall
|
||||
CFLAGS= -DKERNEL -I/sys
|
||||
CFLAGS= -DKERNEL -D_KERNEL -I/sys
|
||||
|
||||
all: $(MODOBJ)
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1994/07/24 07:16:21 mycroft Exp $
|
||||
# $Id: Makefile,v 1.4 1995/03/23 20:13:26 jtc Exp $
|
||||
#
|
||||
|
||||
SRCS=kernfsmod.c
|
||||
@ -45,7 +45,7 @@ KOBJS=kernfs_vfsops.o kernfs_vnops.o
|
||||
MODOBJ=combined.o
|
||||
|
||||
KMOD=kernfsmod
|
||||
CFLAGS= -O6 -DKERNEL -I/sys -I.
|
||||
CFLAGS= -O6 -DKERNEL -D_KERNEL -I/sys -I.
|
||||
|
||||
all: $(MODOBJ)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user