summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/sd
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2017-06-11 14:41:06 +0300
committerRichard Lowe <richlowe@richlowe.net>2017-06-19 13:08:57 -0400
commit5c25b6f10367f6cb7b3d8b8bc7e374712eb977c2 (patch)
tree7cb7ebf21b71e454d7cf797f93245fb71a6f6fb9 /usr/src/uts/intel/sd
parenteb28af623974cfc31cb4545d2965bbaca3fb6888 (diff)
downloadillumos-joyent-5c25b6f10367f6cb7b3d8b8bc7e374712eb977c2.tar.gz
8367 remove warlock leftovers from usr/src/uts Makefiles
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/uts/intel/sd')
-rw-r--r--usr/src/uts/intel/sd/Makefile50
1 files changed, 0 insertions, 50 deletions
diff --git a/usr/src/uts/intel/sd/Makefile b/usr/src/uts/intel/sd/Makefile
index 90e10840c1..cfa86ca4e5 100644
--- a/usr/src/uts/intel/sd/Makefile
+++ b/usr/src/uts/intel/sd/Makefile
@@ -42,9 +42,6 @@ OBJECTS = $(SD_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(SD_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/intel/io/scsi/targets
-WARLOCK_OUT = $(SD_OBJS:%.o=%.ll)
-WARLOCK_OK = $(MODULE).ok
-WLCMD_DIR = $(UTSBASE)/common/io/warlock
#
# Include common rules.
@@ -92,10 +89,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)
@@ -109,48 +104,3 @@ install: $(INSTALL_DEPS)
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ
-
-
-#
-# Defines for local commands.
-#
-WARLOCK = warlock
-WLCC = wlcc
-TOUCH = touch
-TEST = test
-
-#
-# Warlock targets
-#
-# Note that in warlock_with_{esp,isp} it is important to load sd.ll
-# before {isp,esp}.ll; the reason is that both have _init/_info/_fini
-# and warlock can only handle one extern function by a given name;
-# any loaded after the first are ignored.
-
-SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll)
-CMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll)
-
-WARLOCK_TARGETS = warlock_alone
-
-warlock: $(WARLOCK_TARGETS)
-
-warlock_alone: $(WARLOCK_OK)
-
-$(WARLOCK_OK): $(WLCMD_DIR)/sd.wlcmd $(WARLOCK_OUT) scsi_files \
- warlock_ddi.files cmlb_files
- $(WARLOCK) -c $(WLCMD_DIR)/sd.wlcmd $(WARLOCK_OUT) $(SCSI_FILES) \
- $(CMLB_FILES) \
- -l ../warlock/ddi_dki_impl.ll
- $(TOUCH) $@
-
-%.ll: $(UTSBASE)/common/io/scsi/targets/%.c
- $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
-
-cmlb_files:
- @cd ../cmlb; pwd; $(MAKE) warlock
-
-scsi_files:
- @cd ../scsi; pwd; $(MAKE) warlock
-
-warlock_ddi.files:
- @cd ../warlock; pwd; $(MAKE) warlock