[U-Boot] [PATCH v2] Standalone Apps: Standalone apps should need only exports.h.

Kumar Gala galak at kernel.crashing.org
Wed Dec 7 04:38:53 CET 2011


On Dec 6, 2011, at 1:53 PM, Wolfgang Denk wrote:

> Dear Mike Partington,
> 
> In message <1288211469-32443-1-git-send-email-mparting at lexmark.com> you wrote:
>> Modify exports.h to remove its dependencies on other files, thus
>> enabling standalone apps to require only exports.h from the U-Boot
>> source tree.  This appears to be the intent based on the following
>> note: http://lists.denx.de/pipermail/u-boot/2010-January/067174.html
>> 
>> Signed-off-by: Mike Partington <mparting at lexmark.com>
>> ---
>> Changes for v2:
>>   - Replace domain specific email address with generic address
>> 
>> examples/standalone/atmel_df_pow2.c |    1 +
>> examples/standalone/stubs.c         |    1 +
>> include/exports.h                   |    5 +----
>> 3 files changed, 3 insertions(+), 4 deletions(-)
> 
> Applied, thanks.
> 
> Best regards,
> 
> Wolfgang Denk

This breaks builds:

In file included from qsort.c:19:0:
/local/home/galak/git/u-boot/include/exports.h:19:27: error: expected declaration specifiers or '...' before 'va_list'
qsort.c: In function 'qsort':
qsort.c:30:3: warning: implicit declaration of function 'assert'

Simon has posted a patch that fixes:

http://patchwork.ozlabs.org/patch/129855/

- k



More information about the U-Boot mailing list