[U-Boot] "Kbuild:43: recipe for target 'lib/asm-offsets.s' failed"

R White pwmvsi at gmail.com
Sun Oct 28 16:03:35 UTC 2018


BONZAI!

that's the answer!

On Sun, Oct 28, 2018 at 1:32 AM Chris Packham <judge.packham at gmail.com>
wrote:

>
>
> On Sun, 28 Oct 2018, 2:29 PM R White, <pwmvsi at gmail.com> wrote:
>
>> *People,*
>>
>>
>> *Can anyone tell me what I am doing wrong?  Am I missing something?*
>>
>>
>> *I have even reloaded the machine, everything.  *
>> *Rick*
>>
>> ======================================================================================
>>
>> ricky at debian:/embedded/u-boot-2017.09$ sudo apt-get install
>> device-tree-compiler
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> device-tree-compiler is already the newest version (1.4.2-1).
>> 0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
>> ricky at debian:/embedded/u-boot-2017.09$ echo $ARCH
>> arm
>> ricky at debian:/embedded/u-boot-2017.09$ CROSS_COMPILE=arm-linux-gnueabi-
>> ricky at debian:/embedded/u-boot-2017.09$ export ARCH
>> ricky at debian:/embedded/u-boot-2017.09$ export CROSS_COMPILE
>> ricky at debian:/embedded/u-boot-2017.09$ sudo make am335x_evm_config
>> #
>> # configuration written to .config
>> #
>> ricky at debian:/embedded/u-boot-2017.09$ sudo make
>> scripts/kconfig/conf  --silentoldconfig Kconfig
>>   CHK     include/config.h
>>   CFG     u-boot.cfg
>>   GEN     include/autoconf.mk
>>   GEN     include/autoconf.mk.dep
>>   CFG     spl/u-boot.cfg
>>   GEN     spl/include/autoconf.mk
>>   CHK     include/config/uboot.release
>>   CHK     include/generated/version_autogenerated.h
>>   CHK     include/generated/timestamp_autogenerated.h
>>   UPD     include/generated/timestamp_autogenerated.h
>>   CC      lib/asm-offsets.s
>> lib/asm-offsets.c:1:0: error: bad value (armv5) for -march= switch
>>  /*
>>
>
> Not sure but my guess would be that because you're  running sudo the
> environment isn't propagating.
>
> You shouldn't need to run sudo make for anything in u-boot (you might have
> to run "sudo make mrproper" now because there will be generated files owned
> by root).
>


More information about the U-Boot mailing list