It seems to me that when building hw/char directory NEED_CPU_H is not
defined. However when building hw/riscv and hw/intc NEED_CPU_H is
defined. I have no clue where to control c_args to build sub-directories. Any suggestions?
Hi!
The common_ss sourceset (and most others: block_ss, softmmu_ss, etc.) will not have NEED_CPU_H; only specific_ss will, in addition to the entire directories hw/riscv and target/riscv.
In other words, specific_ss is equivalent to the old obj-y Makefile variable.
Thanks,
Paolo