[PATCH 0/1] Exclude code based on config

Sanjeev Premi premi at ti.com
Thu Dec 24 08:55:36 EST 2009

When trying to build with Networking support enabled;
but without selecting any protocol, i encountered
this error:

premi # make
make[1]: `arch/arm/include/asm/mach-types.h' is up to date.
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/config.h -> board/omap/config.h
  LD      barebox
commands/built-in.o: In function `do_tftpb':
help.c:(.text.do_tftpb+0x64): undefined reference to `TftpStart'
make: *** [barebox] Error 1

This 'mistake' led me to making the changes in the following

Sanjeev Premi (1):
  net: Exclude code based on selected protocol

 commands/net.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

More information about the barebox mailing list