in 4.8-rc1 "make bindeb-pkg O=../debian" fails: | find: `scripts/gcc-plugins': No such file or directory | /usr/src/linus/scripts/package/Makefile:97: recipe for target 'bindeb-pkg' failed
this is due to a missing directory scripts/gcc-plugins if using O= removing line 335 of scripts/package/builddeb helps: | (cd $objtree; find scripts/gcc-plugins -name \*.so -o -name gcc-common.h) >> "$objtree/debian/hdrobjfiles" this clearly isn't the right fix, but i checked it anyway and the paket gets built.