sencha: consolidate logic and add support for running OTTF targets
Consolidate simulation logic into __sencha* and __cheriot* targets to
reduce lotsa duplicate code. Splits code into three files: sim.mk (main
targets and common code), sim_ottf.mk (OTTF support), sim_testbench.mk
(cheriot-rtos test suite).
Adds sencha-ottf & sencha-ottf+cli targets for running an OpenTitan Test
Framework build (OTTF) on sencha. To override the default OTTF targets
set the OTTF_SEC and/or OTTF_SMC macros on the cmd line; e.g.
m sencha-ottf+cli OTTF_SMC=smc_tlul_mailbox_test_cheri
Note objdump output for the firmware image is left in
${CHERIOT_OUT_DIR}/release/tmp/${OTFF_SMC}.dump.
Change-Id: Ic6e89124d4b34a21600f2c30c5043ba61a1d9627
6 files changed