Print this page
11843 update Intel microcode to 20190918
Reviewed by: Dan McDonald <danmcd@joyent.com>
Portions contributed by: Andy Fiddaman <andy@omniosce.org>
Portions contributed by: Robert Mustacchi <rm@fingolfin.org>

@@ -37,17 +37,10 @@
 include ../Makefile.cmd
 
 POFILE = ucodeadm_all.po
 POFILES = $(PROG_OBJS:%.o=%.po)
 
-INTEL_UCODE_FILE = intel-ucode.txt
-AMD_UCODE_FILE = amd-ucode.bin
-
-ROOTUCODEPATH = $(ROOT)/platform/i86pc/ucode
-ROOTINTELUCODE = $(INTEL_UCODE_FILE:%=$(ROOTUCODEPATH)/%)
-ROOTAMDUCODE = $(AMD_UCODE_FILE:%=$(ROOTUCODEPATH)/%)
-
 CPPFLAGS = -I../../common -I../../uts/common
 CFLAGS  += $(CCVERBOSE)
 CERRWARN += $(CNOWARN_UNINIT)
 CERRWARN += -_gcc=-Wno-type-limits
 LINTFLAGS += -errtags -erroff=E_NAME_DEF_NOT_USED2

@@ -55,23 +48,20 @@
 LDLIBS += -lgen
 
 DIRMODE = 0755
 FILEMODE = 0555
 
-$(ROOTINTELUCODE) := FILEMODE = 0444
-$(ROOTAMDUCODE) := FILEMODE = 0444
-
 install := TARGET = install
 clobber := TARGET = clobber
 
 CLEANFILES += $(PROG) $(OBJS) ucode_errno.c $(POFILES) $(POFILE)
 
 .KEEP_STATE:
 
 all: $(PROG)
 
-install: all $(ROOTUSRSBINPROG) $(ROOTUCODEPATH) $(ROOTINTELUCODE) $(ROOTAMDUCODE)
+install: all $(ROOTUSRSBINPROG)
 
 _msg: ucodeadm_all.po
 
 %.o: $(COMMON_SRCDIR)/%.c
         $(COMPILE.c) -o $@ $<

@@ -79,16 +69,10 @@
 
 $(PROG): $(OBJS) ucode_errno.c
         $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS)
         $(POST_PROCESS)
 
-$(ROOTUCODEPATH):
-        $(INS.dir)
-
-$(ROOTUCODEPATH)/%: %
-        $(INS.file)
-
 clean:
         -$(RM) $(CLEANFILES)
 
 lint:   lint_SRCS