summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/si3124/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/si3124/Makefile')
-rw-r--r--usr/src/uts/intel/si3124/Makefile54
1 files changed, 2 insertions, 52 deletions
diff --git a/usr/src/uts/intel/si3124/Makefile b/usr/src/uts/intel/si3124/Makefile
index 813a7b9011..b778602e28 100644
--- a/usr/src/uts/intel/si3124/Makefile
+++ b/usr/src/uts/intel/si3124/Makefile
@@ -26,7 +26,7 @@
#
#
-# This makefile drives the production of the
+# This makefile drives the production of the
# "platform/i86pc/kernel/drv/si3124" kernel module.
#
# intel architecture dependent
@@ -45,9 +45,6 @@ OBJECTS = $(SI3124_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(SI3124_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/si3124
-WARLOCK_OUT = $(SI3124_OBJS:%.o=%.ll)
-WARLOCK_OK = $(MODULE).ok
-WLCMD_DIR = $(UTSBASE)/common/io/warlock
#
# Include common rules.
@@ -71,7 +68,7 @@ CERRWARN += -_gcc=-Wno-uninitialized
#
# lint pass one enforcement
-#
+#
CFLAGS += $(CCVERBOSE)
#
@@ -89,10 +86,8 @@ def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
- $(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
clobber: $(CLOBBER_DEPS)
- $(RM) $(WARLOCK_OUT) $(WARLOCK_OK)
lint: $(LINT_DEPS)
@@ -106,48 +101,3 @@ install: $(INSTALL_DEPS)
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ
-
-
-#
-# Defines for local commands.
-#
-WARLOCK = warlock
-WLCC = wlcc
-TOUCH = touch
-TEST = test
-
-SI3124_FILES = $(MODULE).ll
-SD_FILES = $(SD_OBJS:%.o=../sd/%.ll)
-SATA_FILES = $(SATA_OBJS:%.o=-l ../sata/%.ll)
-SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll)
-CMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll)
-
-warlock: $(WARLOCK_OK)
-
-$(WARLOCK_OK): $(WLCMD_DIR)/si3124.wlcmd $(WARLOCK_OUT) warlock_ddi.files \
- sata.files scsi.files sd.files cmlb.files
- $(WARLOCK) -c $(WLCMD_DIR)/si3124.wlcmd $(WARLOCK_OUT) \
- $(SD_FILES) \
- $(SCSI_FILES) \
- $(CMLB_FILES) \
- $(SATA_FILES) \
- -l ../warlock/ddi_dki_impl.ll
- $(TOUCH) $@
-
-%.ll: $(UTSBASE)/common/io/sata/adapters/si3124/%.c
- $(WLCC) $(CPPFLAGS) -D DEBUG -o $@ $<
-
-sata.files:
- @cd ../sata; pwd; $(MAKE) warlock
-
-scsi.files:
- @cd ../scsi; pwd; $(MAKE) warlock
-
-sd.files:
- @cd ../sd; pwd; $(MAKE) warlock_alone
-
-cmlb.files:
- @cd ../cmlb; pwd; $(MAKE) warlock
-
-warlock_ddi.files:
- @cd ../warlock; pwd; $(MAKE) warlock