> Would -r flag in build.sh command be sufficient to ensure a clean build? > > Something like > ===> build.sh command: ./build.sh -m amd64 -B nb899-20190723 -M ../obj -T > ../tooldir -r -U distribution kernel=SANDY7
this is probably good enough. -r removes tooldir and destdir. the lack of -u means you're doing a cleandir which should mean it rebuilds everything else. i don't use -r - i have my own script that keeps the kernel 'version' files, which i find to useful to keep my test kernels updates sane. .mrg.
