Hi. I am building locally.
I have used the hal (hardware abstraction layer) branch since last year, and have switched to “latest” branch today. My setup needs some changes now (e.g. installed new compiler version). My “app” resides next to the firmware folder, so I can version control my app separately. To compile for my Core, I have used this command until now (from my app directory):
cd ../firmware/main # switch to firmware folder make PLATFORM=core APPDIR=../../myApp cd ../../myApp
After the switch from hal to latest, the compiler is stopped by this mysterious message:
…/build/module-defaults.mk:95: *** Recursive variable `TARGET_PATH’ references itself (eventually). Stop.
Interestingly, when I move
firmware/user/applications/myApp and build with…
make PLATFORM=core APP=myApp
… compilation works. Why?? And how can I continue making the firmware with an external app path?
Thank you very much.