I created an application with local built in own source folder. I use the spark/firmware develop branch.
I ran into the problem that the build fails with
make: *** No rule to make target ‘…/build/target/user/platform-0-lto/oinkbrew_firmware/libuser.a’, needed by ‘…/…/oinkbrew_firmware/target/oinkbrew.elf’. Stop
my make file:
APPDIR = …/…/oinkbrew_firmware
APP ?= oinkbrew
@$(MAKE) -e -C …/spark-firmware/main
Please let me know if you need more information from me. I’m not sure what information you need.