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,53 ****
  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
--- 37,46 ----
*** 55,77 ****
  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)
  
  _msg: ucodeadm_all.po
  
  %.o: $(COMMON_SRCDIR)/%.c
          $(COMPILE.c) -o $@ $<
--- 48,67 ----
  LDLIBS += -lgen
  
  DIRMODE = 0755
  FILEMODE = 0555
  
  install := TARGET = install
  clobber := TARGET = clobber
  
  CLEANFILES += $(PROG) $(OBJS) ucode_errno.c $(POFILES) $(POFILE)
  
  .KEEP_STATE:
  
  all: $(PROG)
  
! install: all $(ROOTUSRSBINPROG)
  
  _msg: ucodeadm_all.po
  
  %.o: $(COMMON_SRCDIR)/%.c
          $(COMPILE.c) -o $@ $<
*** 79,94 ****
  
  $(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
  
--- 69,78 ----