On Tue, Nov 04, 2025 at 04:50:25AM +0800, Sune Brian wrote: > > I think I'm not explaining things well enough because I don't quite > > understand the tooling well enough either. What I would like, but don't > > think is possible, is something like: > > $ make O=/tmp/myboard myboard_defconfig > > ... goes along and sees that boards/myvendor/myboard/myboard.xml exists. > > ... Runs the python script to re-create all of the C files, assuming xml > > ... is newer than the C files. > > ... Now compiles the new C files. > > > > No, I think your method is just a bit more complex. > What my last suggestion is just put the handoff folder > next to qts i.e. > > board/altera/abc/qts > board/altera/abc/hps_isw_handoff/foo_bar > > Then once you run maybe "make prepare"? > It generates the new c sets. > > Flow always: > make xxxx_defconfig > make prepare <- this is the place it should be automated. > > As the user defines the board then what you need just place > it new to the qts so it even removes the -o -i user parameter. > And maybe leave the foo_bar naming for user to enter as > it could be renamed by the user during the Quartus project build. > > Do you think this is good?
Well, I think so long as you can do "make xxx_defconfig" (and a separate objdir not source tree), then "make" sees deps and re-runs as needed, yes, this should be workable. Thanks. -- Tom
signature.asc
Description: PGP signature

