X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fintel-microcode;h=217bc9850eee09a6bdf4a3758651b4cedac844d6;hb=60c692e38585977b7e644f0c14d017b1ed350a9c;hp=388061bfef3112217af72e834fa9d9613075b93b;hpb=5901793b61c899e170acba78d9bc29626d8171ef;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/intel-microcode b/lfs/intel-microcode index 388061bfef..217bc9850e 100644 --- a/lfs/intel-microcode +++ b/lfs/intel-microcode @@ -24,14 +24,13 @@ 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)