sim: igen: support in-place updates ourself
authorMike Frysinger <vapier@gentoo.org>
Sat, 24 Dec 2022 20:02:00 +0000 (15:02 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 25 Dec 2022 02:33:24 +0000 (21:33 -0500)
commita5f08108c14ed37cd9f71e0828876d96e9de46da
treee9e7f127f5c80defb349db29e9f1fb078298ca22
parent5d3539bd6bbd9cbd0fa1e09d93632ff08822f1c2
sim: igen: support in-place updates ourself

Every file that igen outputs is then processed with the move-if-changed
shell script.  This creates a lot of boilerplate in the build and not an
insignificant amount of build-time overhead.  Move the simple "is the file
changed" logic into igen itself.
sim/igen/lf.c
sim/ppc/lf.c