]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/intel-microcode
core124: Ship CA certificates
[ipfire-2.x.git] / lfs / intel-microcode
index 388061bfef3112217af72e834fa9d9613075b93b..217bc9850eee09a6bdf4a3758651b4cedac844d6 100644 (file)
 
 include Config
 
-VER        = 20180108
+VER        = 20180807a
 
-THISAPP    = intel-microcode-$(VER)
+THISAPP    = microcode-$(VER)
 DL_FILE    = $(THISAPP).tgz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-
 SUP_ARCH   = i586 x86_64
 
 ###############################################################################
@@ -42,7 +41,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 871df55f0ab010ee384dabfc424f2c12
+$(DL_FILE)_MD5 = b12f8680d87c81a302e8c85712ed1a80
 
 install : $(TARGET)
 
@@ -52,6 +51,9 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
+dist:.
+       $(PAK)
+
 ###############################################################################
 # Downloading, checking, md5sum
 ###############################################################################
@@ -71,8 +73,9 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && mkdir $(DIR_APP) && cd $(DIR_APP) && \
-               tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && cp -vr intel-ucode /lib/firmware
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && mkdir -p $(DIR_APP) && tar zxf $(DIR_DL)/$(DL_FILE) -C $(DIR_APP)
+       ls /usr/src
+       # Copy the firmware files into the right position
+       cd $(DIR_APP) && cp -R intel-ucode /lib/firmware/
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)