Update autogen-kernel.sh

added folder specific things