[EMAIL PROTECTED] ha scritto: > I wanted to build a kernel to get some drivers as modules instead of > built-in. I followed > > http://wiki.openmoko.org/wiki/Toolchain > > When I went to build the kernel, I had to change the 'build' script to point > to the toolchain. After that was fixed, I got this error when running the > 'build' script. > > # configuration written to .config > # > + VERSION= > + '[' -d .git ']' > ++ git show --pretty=oneline > ++ cut '-d ' -f1 > ++ cut -b1-16 > ++ head -n1 > + HEAD=ca19d156400f8179 > ++ git branch > ++ grep '^*' > ++ cut '-d ' -f2 > + BRANCH='(no' > + VERSION='-(no_ca19d156400f8179' > + make -j5 ARCH=arm 'EXTRAVERSION=-(no_ca19d156400f8179' > CHK include/linux/version.h > SYMLINK include/asm-arm/arch -> include/asm-arm/arch-s3c2410 > /bin/sh: -c: line 0: syntax error near unexpected token `(' > /bin/sh: -c: line 0: `echo 2.6.24-(no_ca19d156400f8179 > > include/config/kernel.release' > make: *** [include/config/kernel.release] Error 2 > make: INTERNAL: Exiting with 6 jobserver tokens available; should be 5! > + exit 1
Otherwise a workaround is editing the "build" file hardcoding there the branch name. I had this issue too. -- Treviño's World - Life and Linux http://www.3v1n0.net/ _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

