sim: fix arch Makefile regen when unified
authorMike Frysinger <vapier@gentoo.org>
Wed, 30 Jun 2021 00:44:55 +0000 (20:44 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 30 Jun 2021 02:27:16 +0000 (22:27 -0400)
commitcc717561416185c2328e68c3ba9dd3c8331d4976
tree1f2b23bce96bcddb70d7df1478a1fa6c80ca358b
parent3167423f079e08f530df30eccad2a467c8ad5014
sim: fix arch Makefile regen when unified

The $(arch) variable is only setup for cgen ports, so calculate this
value dynamically.  We also need to generate multiple inputs in order
to properly recreate the subdir Makefile, so list them all.
sim/common/ChangeLog
sim/common/Make-common.in