How to compile clearlinux kernel?

mkdir ~/patched_source
git clone ~/clearlinux_patches
cd ~/clearlinux_patches
./scripts/ ~/patched_source

it got stuck at

android@clr:~/clearlinux_patches/scripts (master)
$ ./ ~/patched_source
grep: /home/android/patched_source: Is a directory

It looks like you’re missing a parameter:

There is documentation on doing this manually here:

@miguelinux should this script be added to the documentation above?

You may want to use the common tooling - - it allows you to rebuild packages by just typing make.