###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2016 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 = 20180425
-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 = 99c80f9229554953a868127cda44e7e3
install : $(TARGET)
-
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
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)