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
###############################################################################
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 871df55f0ab010ee384dabfc424f2c12
+$(DL_FILE)_MD5 = b12f8680d87c81a302e8c85712ed1a80
install : $(TARGET)
md5 : $(subst %,%_MD5,$(objects))
+dist:.
+ $(PAK)
+
###############################################################################
# Downloading, checking, md5sum
###############################################################################
$(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)