I followed the instructions in developer.nordicsemi.com/.../a00058.html and reached Obtaining the kernel: Option 2: Native build. I failed at step 3 and the error message goes like this:
pi@raspberrypi ~/raspbian/linux $ make –j5 && make –j5 modules
scripts/kconfig/conf --silentoldconfig Kconfig
make: *** No rule to make target '–j5'. Stop.
I also tries the next step (step 4) but failed too as below:
pi@raspberrypi ~/raspbian/linux $ CONCURRENCY_LEVEL=5 DEB_HOST_ARCH=armhf fakeroot make-kpkg --append-to-version –name_of_your_choice --revision date +%Y%m%d%H%M%S
--initrd kernel_image kernel_headers
Error: The extended version may only contain lowercase alphanumerics and the characters - + .
The current value is: –name_of_your_choice
Aborting.
Please help.