Because I have a new BSP, I cannot use rsb to build it (it fetches new source and my BSP isn’t in that source). I can build it with waf however so in my clone of the repo I do
./waf configure --prefix=<my rtems prefix>
... configures ...
./waf build
... builds and installs it into my "installed" RTEMS ...
So that’s great, but it doesn’t build the samples. One place I read said to
add RTEMS_SAMPLES = True to my config.ini file (waf says “unknown option”). The rsb has a switch --with-rtems-tests=samples but waf doesn’t know about that switch. I tried to pull the code out of the ../testsuites/samples folder in the repo but it doesn’t have a waf script so I made one up, and then I added -I<my repo>/testsuites/support/include/ to the C flags but it also couldn’t find a bunch of test utilites that it wanted to link to.
Is there a preferred way to do this? Or am I going to re-create an independent tree with the samples and testsuite code in it so that I can build it with waf ?