“Build dependency: Please do not compile as root.” in kamikaze 8.09

Good news is OpenWRT 8.09 got recently released. Bad news is that you can’t compile it as root. Yes, compiling as root is bad, but in some situations you absolutely need to do that and you’re just unable to do that. In previous versions it was possible to “export FORCE=1” and compile everything under root account. In this version there is a bug. And here is the bugfix:


Open file include/prepreq-build.mk and comment out line 15 that looks like
[ "$$(shell whoami)" != "root" ]

Leave a Reply