summaryrefslogtreecommitdiff
path: root/usr/src/uts/i86pc/Makefile.rules
diff options
context:
space:
mode:
authorGerry Liu <jiang.liu@intel.com>2010-03-25 15:36:50 -0700
committerGerry Liu <jiang.liu@intel.com>2010-03-25 15:36:50 -0700
commita31148363f598def767ac48c5d82e1572e44b935 (patch)
tree756cfb0c3c9a79f98087875bb4731e0366f895b7 /usr/src/uts/i86pc/Makefile.rules
parent19843f01b1bef3453f717c23c8f89fb9313f6749 (diff)
downloadillumos-joyent-a31148363f598def767ac48c5d82e1572e44b935.tar.gz
PSARC/2009/104 Hot-Plug Support for ACPI-based Systems
PSARC/2009/550 PSMI Extensions for CPU Hotplug PSARC/2009/551 acpihpd ACPI Hotplug Daemon PSARC/2009/591 Attachment Points for Hotpluggable x86 Systems 6862510 provide support for cpu hot add on x86 6883891 cmi interface needs to support dynamic reconfiguration 6884154 x2APIC and kmdb may not function properly during CPU hotplug event. 6904971 low priority acpi nexus code review feedback 6877301 lgrp should support memory hotplug flag in SRAT table
Diffstat (limited to 'usr/src/uts/i86pc/Makefile.rules')
-rw-r--r--usr/src/uts/i86pc/Makefile.rules38
1 files changed, 38 insertions, 0 deletions
diff --git a/usr/src/uts/i86pc/Makefile.rules b/usr/src/uts/i86pc/Makefile.rules
index ab82a3537f..592250db83 100644
--- a/usr/src/uts/i86pc/Makefile.rules
+++ b/usr/src/uts/i86pc/Makefile.rules
@@ -79,10 +79,42 @@ $(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/io/acpi/acpinex/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
+SBD_IOCTL = $(UTSBASE)/i86pc/sys/sbd_ioctl.h
+DRMACH_IO = $(UTSBASE)/i86pc/io/acpi/drmach_acpi
+DRMACH_GENERR = $(DRMACH_IO)/sbdgenerr
+DR_IO = $(UTSBASE)/i86pc/io/dr
+DR_GENERR = $(DR_IO)/sbdgenerr
+
+$(DRMACH_GENERR): $(DR_IO)/sbdgenerr.pl
+ $(RM) $@
+ $(CAT) $(DR_IO)/sbdgenerr.pl > $@
+ $(CHMOD) +x $@
+
+$(DRMACH_IO)/drmach_err.c: $(DRMACH_GENERR) $(SBD_IOCTL)
+ $(RM) $@
+ $(DRMACH_GENERR) EX86 < $(SBD_IOCTL) > $(DRMACH_IO)/drmach_err.c
+
+$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/io/acpi/drmach_acpi/%.c
+ $(COMPILE.c) -o $@ $<
+ $(CTFCONVERT_O)
+
$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/io/amd_iommu/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
+$(DR_GENERR): $(DR_IO)/sbdgenerr.pl
+ $(RM) $@
+ $(CAT) $(DR_IO)/sbdgenerr.pl > $@
+ $(CHMOD) +x $@
+
+$(DR_IO)/dr_err.c: $(DR_GENERR) $(SBD_IOCTL)
+ $(RM) $@
+ $(DR_GENERR) ESBD < $(SBD_IOCTL) > $(DR_IO)/dr_err.c
+
+$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/io/dr/%.c
+ $(COMPILE.c) -o $@ $<
+ $(CTFCONVERT_O)
+
$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/io/ioat/%.c
$(COMPILE.c) -o $@ $<
$(CTFCONVERT_O)
@@ -307,9 +339,15 @@ $(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/acpi/acpidev/%.c
$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/acpi/acpinex/%.c
@($(LHEAD) $(LINT.c) $< $(LTAIL))
+$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/acpi/drmach_acpi/%.c
+ @($(LHEAD) $(LINT.c) $< $(LTAIL))
+
$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/amd_iommu/%.c
@($(LHEAD) $(LINT.c) $< $(LTAIL))
+$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/dr/%.c
+ @($(LHEAD) $(LINT.c) $< $(LTAIL))
+
$(LINTS_DIR)/%.ln: $(UTSBASE)/i86pc/io/ioat/%.c
@($(LHEAD) $(LINT.c) $< $(LTAIL))