Print this page
PANKOVs restructure
@@ -22,10 +22,11 @@
LINTS = $(ACPICA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
INC_PATH += -I$(UTSBASE)/intel/sys/acpi
INC_PATH += -I$(UTSBASE)/i86pc
INC_PATH += -I$(SRC)/common
+INC_PATH += -I$(SRC)/common/acpica/include
#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
@@ -43,22 +44,22 @@
DEBUG_DEFS += $(DEBUG_FLGS)
#
# lint pass one non-enforcement
#
-CFLAGS += $(CCVERBOSE) -DPWRDMN -DACPI_USE_LOCAL_CACHE -DACPI_DEBUG_OUTPUT
+CFLAGS += $(CCVERBOSE) -DACPI_USE_LOCAL_CACHE
#
# 3rd party code is not lint clean
#
-CERRWARN += -erroff=E_STATEMENT_NOT_REACHED
-
LINTFLAGS += -errchk=%none
LINTFLAGS += -errhdr=%none
LINTFLAGS += -erroff=%all
LINTFLAGS += -errwarn=%none
+CERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
+
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
#