Print this page
remove inlines,some other files
@@ -23,10 +23,11 @@
# uts/i86xpv/Makefile.i86xpv
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2013 Andrew Stormont. All rights reserved.
+# Copyright 2019 Joyent, Inc.
#
#
# This makefile contains the common definitions for the i86xpv unix
# and all i86xpv implementation architecture dependent modules.
@@ -95,19 +96,10 @@
#
DEF_BUILDS = $(DEF_BUILDS64)
ALL_BUILDS = $(ALL_BUILDS64)
#
-# x86 or amd64 inline templates
-#
-INLINES_32 = $(UTSBASE)/intel/ia32/ml/ia32.il \
- $(UTSBASE)/$(PLATFORM)/ml/ia32.il
-INLINES_64 = $(UTSBASE)/intel/amd64/ml/amd64.il \
- $(UTSBASE)/$(PLATFORM)/ml/amd64.il
-INLINES += $(INLINES_$(CLASS))
-
-#
# kernel-specific optimizations; override default in Makefile.master
#
CFLAGS_XARCH_32 = $(i386_CFLAGS)
CFLAGS_XARCH_64 = $(amd64_CFLAGS)
@@ -117,11 +109,11 @@
COPTFLAG_64 = $(COPTFLAG64)
COPTIMIZE = $(COPTFLAG_$(CLASS))
CFLAGS = $(CFLAGS_XARCH)
CFLAGS += $(COPTIMIZE)
-CFLAGS += $(INLINES) -D_ASM_INLINES
+CFLAGS += -D_ASM_INLINES
CFLAGS += $(CCMODE)
CFLAGS += $(SPACEFLAG)
CFLAGS += $(CCUNBOUND)
CFLAGS += $(CFLAGS_uts)
@@ -143,14 +135,11 @@
MAPFILE = $(UTSBASE)/$(PLATFORM)/conf/Mapfile
MODSTUBS = $(UTSBASE)/intel/ia32/ml/modstubs.s
GENASSYM_SRC = $(UTSBASE)/i86pc/ml/genassym.c
OFFSETS_SRC = $(UTSBASE)/i86pc/ml/offsets.in
-#PLATFORM_OFFSETS_32 = $(UTSBASE)/$(PLATFORM)/ml/mach_offsets.in
-PLATFORM_OFFSETS_32 = $(UTSBASE)/i86pc/ml/mach_offsets.in
-PLATFORM_OFFSETS_64 = $(UTSBASE)/intel/amd64/ml/mach_offsets.in
-PLATFORM_OFFSETS_SRC = $(PLATFORM_OFFSETS_$(CLASS))
+PLATFORM_OFFSETS_SRC = $(UTSBASE)/intel/amd64/ml/mach_offsets.in
KDI_OFFSETS_SRC = $(UTSBASE)/intel/kdi/kdi_offsets.in
#
# Define the actual specific platforms
#
@@ -184,11 +173,10 @@
DEBUG_COND_DBG64 =
IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
$(IF_DEBUG_OBJ)trap.o := DEBUG_DEFS += -DTRAPDEBUG -DTRAPTRACE
$(IF_DEBUG_OBJ)syscall_asm.o := DEBUG_DEFS += -DSYSCALLTRACE -DTRAPTRACE
-$(IF_DEBUG_OBJ)syscall_asm_amd64.o := DEBUG_DEFS += -DSYSCALLTRACE -DTRAPTRACE
$(IF_DEBUG_OBJ)fast_trap_asm.o := DEBUG_DEFS += -DTRAPTRACE
$(IF_DEBUG_OBJ)interrupt.o := DEBUG_DEFS += -DTRAPTRACE
$(IF_DEBUG_OBJ)intr.o := DEBUG_DEFS += -DTRAPTRACE
$(IF_DEBUG_OBJ)locore.o := DEBUG_DEFS += -DTRAPTRACE
$(IF_DEBUG_OBJ)mp_startup.o := DEBUG_DEFS += -DTRAPTRACE