diff options
Diffstat (limited to 'usr/src/uts/sparc')
-rw-r--r-- | usr/src/uts/sparc/Makefile.sparc.shared | 10 | ||||
-rw-r--r-- | usr/src/uts/sparc/cardbus/Makefile | 104 | ||||
-rw-r--r-- | usr/src/uts/sparc/pcic/Makefile | 104 | ||||
-rw-r--r-- | usr/src/uts/sparc/pem/Makefile | 98 | ||||
-rw-r--r-- | usr/src/uts/sparc/socal/Makefile | 98 |
5 files changed, 408 insertions, 6 deletions
diff --git a/usr/src/uts/sparc/Makefile.sparc.shared b/usr/src/uts/sparc/Makefile.sparc.shared index b2f6edd96d..14d003dd53 100644 --- a/usr/src/uts/sparc/Makefile.sparc.shared +++ b/usr/src/uts/sparc/Makefile.sparc.shared @@ -267,6 +267,7 @@ DRV_KMODS += ib ibd DRV_KMODS += pci_pci px_pci pxb_bcm pcie DRV_KMODS += i8042 kb8042 mouse8042 DRV_KMODS += fcode +DRV_KMODS += socal $(CLOSED_BUILD)CLOSED_DRV_KMODS += audioens $(CLOSED_BUILD)CLOSED_DRV_KMODS += audioixp @@ -276,7 +277,6 @@ $(CLOSED_BUILD)CLOSED_DRV_KMODS += dad $(CLOSED_BUILD)CLOSED_DRV_KMODS += ifp $(CLOSED_BUILD)CLOSED_DRV_KMODS += scsi_vhci $(CLOSED_BUILD)CLOSED_DRV_KMODS += sgen -$(CLOSED_BUILD)CLOSED_DRV_KMODS += socal $(CLOSED_BUILD)CLOSED_DRV_KMODS += uata $(CLOSED_BUILD)CLOSED_DRV_KMODS += usbser_edge @@ -292,15 +292,13 @@ DRV_KMODS += emul64 # PCMCIA specific module(s) # DRV_KMODS += stp4020 pcs -MISC_KMODS += busra dada pcmcia +MISC_KMODS += busra cardbus dada pcmcia DRV_KMODS += pcata pcmem pcram +DRV_KMODS += pcic +DRV_KMODS += pem $(CLOSED_BUILD)CLOSED_DRV_KMODS += pcelx -$(CLOSED_BUILD)CLOSED_DRV_KMODS += pcic $(CLOSED_BUILD)CLOSED_DRV_KMODS += pcser -$(CLOSED_BUILD)CLOSED_DRV_KMODS += pem - -$(CLOSED_BUILD)CLOSED_MISC_KMODS += cardbus # Add lvm # diff --git a/usr/src/uts/sparc/cardbus/Makefile b/usr/src/uts/sparc/cardbus/Makefile new file mode 100644 index 0000000000..1dec1e5481 --- /dev/null +++ b/usr/src/uts/sparc/cardbus/Makefile @@ -0,0 +1,104 @@ +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +# uts/sparc/cardbus/Makefile +# +#pragma ident "%Z%%M% %I% %E% SMI" +# +# This makefile drives the production of the cardbus kernel module. +# +# sparc architecture dependent +# + +# +# Path to the base of the uts directory tree (usually /usr/src/uts). +# +UTSBASE = ../.. + +# +# Define the module and object file sets. +# +MODULE = cardbus +OBJECTS = $(CARDBUS_OBJS:%=$(OBJS_DIR)/%) +LINTS = $(CARDBUS_OBJS:%.o=$(LINTS_DIR)/%.ln) +ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) + +# +# Include common rules. +# +include $(UTSBASE)/sparc/Makefile.sparc + +# +# Define targets +# +ALL_TARGET = $(BINARY) +LINT_TARGET = $(MODULE).lint +INSTALL_TARGET = $(BINARY) $(ROOTMODULE) + +# +# Include sun4u specific header files +# +INC_PATH += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4 + +# +# Overrides +# +DEF_BUILDS = $(DEF_BUILDS64) +ALL_BUILDS = $(ALL_BUILDS64) +CLEANLINTFILES += $(LINT64_FILES) + +# +# lint pass one enforcement +# +CFLAGS += $(CCVERBOSE) + +CPPFLAGS += -DHOTPLUG + +# dependency +LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc + +# +# Default build targets. +# +.KEEP_STATE: + +def: $(DEF_DEPS) + +all: $(ALL_DEPS) + +clean: $(CLEAN_DEPS) + +clobber: $(CLOBBER_DEPS) + +lint: $(LINT_DEPS) + +modlintlib: $(MODLINTLIB_DEPS) lint64 + +clean.lint: $(CLEAN_LINT_DEPS) + +install: $(INSTALL_DEPS) + +# Include common targets. +# +include $(UTSBASE)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/pcic/Makefile b/usr/src/uts/sparc/pcic/Makefile new file mode 100644 index 0000000000..35d8ce033d --- /dev/null +++ b/usr/src/uts/sparc/pcic/Makefile @@ -0,0 +1,104 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# + +#ident "%Z%%M% %I% %E% SMI" +# +# This makefile drives the production of the PCIC driver kernel module. +# +# sparc architecture dependent +# + +# +# Path to the base of the uts directory tree (usually /usr/src/uts). +# +UTSBASE = ../.. + +# +# Define the module and object file sets. +# +MODULE = pcic +OBJECTS = $(PCIC_OBJS:%=$(OBJS_DIR)/%) +LINTS = $(PCIC_OBJS:%.o=$(LINTS_DIR)/%.ln) +ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) +CONF_SRCDIR = $(UTSBASE)/common/io + +# +# Include common rules. +# +include $(UTSBASE)/sparc/Makefile.sparc + +# +# Define targets +# +ALL_TARGET = $(BINARY) $(SRC_CONFILE) +LINT_TARGET = $(MODULE).lint +INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) + +# +# Include sun4u specific header files +# +INC_PATH += -I$(UTSBASE)/sun4u + +# +# Overrides +# +DEF_BUILDS = $(DEF_BUILDS64) +ALL_BUILDS = $(ALL_BUILDS64) +CLEANLINTFILES += $(LINT64_FILES) + +# +# lint pass one enforcement +# +CFLAGS += $(CCVERBOSE) +CPPFLAGS += -DCARDBUS + +# dependency +LDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus + +# +# Default build targets. +# +.KEEP_STATE: + +def: $(DEF_DEPS) + +all: $(ALL_DEPS) + +clean: $(CLEAN_DEPS) + +clobber: $(CLOBBER_DEPS) + +lint: $(LINT_DEPS) + +modlintlib: $(MODLINTLIB_DEPS) lint64 + +clean.lint: $(CLEAN_LINT_DEPS) + +install: $(INSTALL_DEPS) + +# Include common targets. +# +include $(UTSBASE)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/pem/Makefile b/usr/src/uts/sparc/pem/Makefile new file mode 100644 index 0000000000..762dabd304 --- /dev/null +++ b/usr/src/uts/sparc/pem/Makefile @@ -0,0 +1,98 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License (the "License"). +# You may not use this file except in compliance with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# + +# +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# +#ident "%Z%%M% %I% %E% SMI" +# +# This file makes the PCMCIA Event Manager driver for a sparc system +# +# sparc architecture dependent +# + +# +# Path to the base of the uts directory tree (usually /usr/src/uts). +# +UTSBASE = ../.. + +# +# Define the module and object file sets. +# +MODULE = pem +OBJECTS = $(PEM_OBJS:%=$(OBJS_DIR)/%) +LINTS = $(PEM_OBJS:%.o=$(LINTS_DIR)/%.ln) +ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) +CONF_SRCDIR = $(UTSBASE)/common/pcmcia/pem + +# +# Include common rules. +# +include $(UTSBASE)/sparc/Makefile.sparc + +# +# Define targets +# +ALL_TARGET = $(BINARY) $(SRC_CONFILE) +LINT_TARGET = $(MODULE).lint +INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) + +# +# Override defaults to build a unique, local modstubs.o. +# +MODSTUBS_DIR = $(OBJS_DIR) +$(MODSTUBS_O) := AS_CPPFLAGS += -DPEM_MODULE +CLEANFILES += $(MODSTUBS_O) +DEF_BUILDS = $(DEF_BUILDS64) +ALL_BUILDS = $(ALL_BUILDS64) +CLEANLINTFILES += $(LINT64_FILES) + +# +# lint pass one enforcement +# +CFLAGS += $(CCVERBOSE) + +# +# Default build targets. +# +.KEEP_STATE: + +def: $(DEF_DEPS) + +all: $(ALL_DEPS) + +clean: $(CLEAN_DEPS) + +clobber: $(CLOBBER_DEPS) + +lint: $(LINT_DEPS) + +modlintlib: $(MODLINTLIB_DEPS) lint64 + +clean.lint: $(CLEAN_LINT_DEPS) + +install: $(INSTALL_DEPS) + +# +# Include common targets. +# +include $(UTSBASE)/sparc/Makefile.targ diff --git a/usr/src/uts/sparc/socal/Makefile b/usr/src/uts/sparc/socal/Makefile new file mode 100644 index 0000000000..ad4405cca5 --- /dev/null +++ b/usr/src/uts/sparc/socal/Makefile @@ -0,0 +1,98 @@ +# +# CDDL HEADER START +# +# The contents of this file are subject to the terms of the +# Common Development and Distribution License, Version 1.0 only +# (the "License"). You may not use this file except in compliance +# with the License. +# +# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE +# or http://www.opensolaris.org/os/licensing. +# See the License for the specific language governing permissions +# and limitations under the License. +# +# When distributing Covered Code, include this CDDL HEADER in each +# file and include the License file at usr/src/OPENSOLARIS.LICENSE. +# If applicable, add the following below this CDDL HEADER, with the +# fields enclosed by brackets "[]" replaced with your own identifying +# information: Portions Copyright [yyyy] [name of copyright owner] +# +# CDDL HEADER END +# +# +# uts/sparc/socal/Makefile + +# +# Copyright 2005 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# + +#ident "%Z%%M% %I% %E% SMI" + +# +# This makefile drives the production of the socal driver kernel +# module, which is used for the Photon/FC-AL product +# +# sparc architecture dependent +# + +# +# Path to the base of the uts directory tree (usually /usr/src/uts). +# +UTSCLOSED = ../.. +UTSBASE = ../../../../src/uts + +# +# Define the module and object file sets. +# +MODULE = socal +OBJECTS = $(SOCAL_OBJS:%=$(OBJS_DIR)/%) +LINTS = $(SOCAL_OBJS:%.o=$(LINTS_DIR)/%.ln) +ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) + +# +# Include common rules. +# +include $(UTSCLOSED)/sparc/Makefile.sparc + +# +# Define targets +# +ALL_TARGET = $(BINARY) +LINT_TARGET = $(MODULE).lint +INSTALL_TARGET = $(BINARY) $(ROOTMODULE) + +# +# Overrides +# +CFLAGS += $(CCVERBOSE) -dalign + +# +# Default build targets. +# +.KEEP_STATE: + +all: $(ALL_DEPS) + +def: $(DEF_DEPS) + +clean: $(CLEAN_DEPS) + +clobber: $(CLOBBER_DEPS) + +lint: $(LINT_DEPS) + +modlintlib: $(MODLINTLIB_DEPS) + +clean.lint: $(CLEAN_LINT_DEPS) + +install: $(INSTALL_DEPS) + +# +# Include common targets. +# +include $(UTSCLOSED)/sparc/Makefile.targ + +browser: $(BINARY) + +browser := CFLAGS += -xsb |