mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
intel-microcode: Hardlink all files to save space
This will save about 3 MiB. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -74,7 +74,12 @@ $(subst %,%_BLAKE2,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && mkdir -p $(DIR_APP) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
# Copy the firmware files into the right position
|
||||
cd $(DIR_APP) && cp -R intel-ucode /lib/firmware/
|
||||
|
||||
# Hardlink any identical files
|
||||
hardlink -c -vv /lib/firmware/intel-ucode
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user