X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;ds=sidebyside;f=lfs%2Flinux-firmware;h=f08dffb628529b3a1de0dbd17593b98b27f6f2c1;hb=8a4780de645a5b3ab42054eaf022c57d6849ae9a;hp=b6268a318ba8988598ad6172de1ee8838d5004f1;hpb=e546e1038abce156bfa73163b7d84c1d73dda922;p=ipfire-2.x.git diff --git a/lfs/linux-firmware b/lfs/linux-firmware index b6268a318b..f08dffb628 100644 --- a/lfs/linux-firmware +++ b/lfs/linux-firmware @@ -70,13 +70,16 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/0001-Add-support-for-compressing-firmware-in-copy-firmwar.patch - cd $(DIR_APP) && make installcompress + mkdir -p /lib/firmware + cd $(DIR_APP) && make install # Remove any spaces in filenames while read -r file; do \ mv "$${file}" "$${file// /_}" || exit 1; \ done < <(find /lib/firmware -name "* *") + # Hardlink any identical files + hardlink -c -vv /lib/firmware + @rm -rf $(DIR_APP) @$(POSTBUILD)