I’m really enjoying the Particle build system, but I’ve run across a customization problem. It seems that setting the
APP_DIR variable only puts the application object files into the intended directory. How can I go about putting all build files there? I’d like more control over my build environment and, amongst other things, I’d like to make sure that a
make all_clean cleans absolutely everything, including all Particle build files.
Right now, I’m finding build files a little spread throughout, like
~/.particle/toolchains/deviceOS/1.4.4/firmware-1.4.4/build/target/user/platform-14-m, … That’s really not great because it makes deep cleaning hard. It also makes it hard to do more advanced analysis into the binaries because it’s not clear where all the changes are.
As per @rickkas7 below, there is no way to do what I asked, but there is a way to accomplish the biggest goal, which is to ensure that
make clean can delete absolutely everything.