[U-Boot] [PATCH v2] sandbox: Build with -fPIC

Simon Glass sjg at chromium.org
Fri Sep 28 15:55:09 UTC 2018


On 14 September 2018 at 19:03, Simon Glass <sjg at chromium.org> wrote:
> On 3 September 2018 at 11:08, Andy Shevchenko
> <andriy.shevchenko at linux.intel.com> wrote:
>> Sandbox is not a real bootloader and it does require
>> a position independent code to be supported.
>>
>> Thus, build it with -fPIC explicitly.
>>
>> Fixes: 16940f720f9b ("Makefile: Don't generate position independent code")
>> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
>> Reported-by: Simon Glass <sjg at chromium.org>
>> Tested-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>> - rebased on top of latest u-boot/master
>> - added Bin's Tb tag
>>
>>  arch/sandbox/config.mk | 1 +
>>  1 file changed, 1 insertion(+)
>
> Acked-by: Simon Glass <sjg at chromium.org>
> Tested-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, and now in mainline, thanks!


More information about the U-Boot mailing list