]> git.ipfire.org Git - thirdparty/openwrt.git/commit
intel-microcode: fix build error on rebuild 24077/head
authorRany Hany <rany_hany@riseup.net>
Sat, 4 Jul 2026 23:58:34 +0000 (23:58 +0000)
committerRobert Marko <robimarko@gmail.com>
Sun, 5 Jul 2026 15:55:50 +0000 (17:55 +0200)
commit57b659c41dff712497f748915cdbc23e6e610a48
tree97d8a1d0b8fac8054c42c5f3fd9bf08550467381
parent9716066e80c9c8ebfb0db480a17c59895f1e6f1e
intel-microcode: fix build error on rebuild

When rebuilding the package, iucode_tool fails with a "File exists"
error if the directory already contained firmware from the previous
build (incl. in the successful build case).

Fix this by removing the directory before invoking iucode_tool.

Fixes the following build error:
iucode_tool: 06-0f-02: cannot write to, or create file: File exists
make[2]: *** [Makefile:57: .../.built] Error 2

Signed-off-by: Rany Hany <rany_hany@riseup.net>
Link: https://github.com/openwrt/openwrt/pull/24077
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/firmware/intel-microcode/Makefile