]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/intel-microcode
core133: Ship jansson in update
[ipfire-2.x.git] / lfs / intel-microcode
index 388061bfef3112217af72e834fa9d9613075b93b..f2223148ff07496002f155aeeca446b941986664 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2019  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
 
 include Config
 
-VER        = 20180108
+VER        = 20190514
 
-THISAPP    = intel-microcode-$(VER)
-DL_FILE    = $(THISAPP).tgz
+THISAPP    = Intel-Linux-Processor-Microcode-Data-Files-microcode-$(VER)
+DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
-
 SUP_ARCH   = i586 x86_64
 
 ###############################################################################
@@ -42,7 +41,8 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 871df55f0ab010ee384dabfc424f2c12
+$(DL_FILE)_MD5 = ad5fe712f54387c0737caef8131b4770
+
 
 install : $(TARGET)
 
@@ -52,6 +52,9 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
+dist:.
+       $(PAK)
+
 ###############################################################################
 # Downloading, checking, md5sum
 ###############################################################################
@@ -71,8 +74,8 @@ $(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)
+       # Copy the firmware files into the right position
+       cd $(DIR_APP) && cp -R intel-ucode /lib/firmware/
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)