(no subject)
In Fedora with gcc 5.2 and 5.3 the fw_env is FTB due to a missing include. The following small patch fixes building it on Fedora with gcc 5.3.1
Regards,
Peter
PATCH 1/1 tools: env: include compiler.h
With gcc 5.2 and later we get a bunch of "error: unknown type name" for 'uint8_t', 'uint32_t' and friends.
Signed-off-by Peter Robinson <[email protected]>
--- tools/env/fw_env.c | 1 + 1 file changed, 1 insertion(+)
tools/env/fw_env.c +1 -0
@@ -10,6 +10,7 @@#define _GNU_SOURCE +#include <compiler.h> #include <errno.h> #include <env_flags.h> #include <fcntl.h>
Signature · 1 line
2.5.0
[U-Boot] tools: env: include compiler.h
Quoted 4 lines · Peter Robinson
With gcc 5.2 and later we get a bunch of "error: unknown type name" for '
uint8_t', 'uint32_t' and friends.Signed-off-by Peter Robinson <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151215/61b575ba/attachment.sig>