
On Thursday 15 December 2011 21:13:55 Kyle Moffett wrote:
The version from the kernel is not directly usable as it has code for supporting CONFIG_LOCALVERSION from Kconfig, but the version that was imported is very similar to the one in Linux v3.2-rc4.
NAK: this breaks localversion-* support
ignoring that, i'm not sure you really need to delete the CONFIG_xxx handling. under u-boot, they'd expand to like "" which would end at the same code. by keeping as much code as possible in common, it should make future updates easier.
the only place i see where you need to deviate from the kernel code is: if test -e include/config/auto.conf; then . include/config/auto.conf else echo "Error: kernelrelease not valid - run 'make prepare' to update it" exit 1 fi
so that part i would write as: # Disabled for u-boot #if test -e include/config/auto.conf; then # . include/config/auto.conf #else # echo "Error: kernelrelease not valid - run 'make prepare' to update it" # exit 1 #fi -mike