All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] compile issue with U-boot-2014.10-rc2 & Cubieboard
@ 2014-09-30  1:29 Tom Everett
  2014-10-01 15:31 ` Jeroen Hofstee
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Everett @ 2014-09-30  1:29 UTC (permalink / raw)
  To: u-boot

I am getting this compile error:

scripts/Makefile.build:55:
/tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile:
No such file or directory

gmake[1]: *** No rule to make target
`/tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile'.
Stop.

It appears that the dir "/board/amd/sunxi" does not exist.  It should be
"/board/sunxi".

-- 
A better world shall emerge based on faith and understanding  - Douglas
MacArthur

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] compile issue with U-boot-2014.10-rc2 & Cubieboard
  2014-09-30  1:29 [U-Boot] compile issue with U-boot-2014.10-rc2 & Cubieboard Tom Everett
@ 2014-10-01 15:31 ` Jeroen Hofstee
  2014-10-19 14:28   ` Jeroen Hofstee
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen Hofstee @ 2014-10-01 15:31 UTC (permalink / raw)
  To: u-boot

Hello Tom,

On 30-09-14 03:29, Tom Everett wrote:
> I am getting this compile error:
>
> scripts/Makefile.build:55:
> /tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile:
> No such file or directory
>
> gmake[1]: *** No rule to make target
> `/tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile'.
> Stop.
>
> It appears that the dir "/board/amd/sunxi" does not exist.  It should be
> "/board/sunxi".
>
>

Your problem description does not contain enough information
to reproduce / understand your problem. e.g. are you trying to
compile for a FreeBSD target or on a FreeBSD host? make commands
are missing as well.

Anyway, current master be9f643ae, with this patch:
http://patchwork.ozlabs.org/patch/395588/ should compile
fine on a FreeBSD host (11-currentish).

Regards,
Jeroen

sudo pkg install gcc-arm-embedded
export PATH=/usr/local/gcc-arm-embedded-4_8-2014q2-20140609/bin/:$PATH
export CROSS_COMPILE=arm-none-eabi-
gmake Cubieboard_defconfig
gmake all

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] compile issue with U-boot-2014.10-rc2 & Cubieboard
  2014-10-01 15:31 ` Jeroen Hofstee
@ 2014-10-19 14:28   ` Jeroen Hofstee
  2014-10-20 19:01     ` Jeroen Hofstee
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen Hofstee @ 2014-10-19 14:28 UTC (permalink / raw)
  To: u-boot

Hello Tom,

On 01-10-14 17:31, Jeroen Hofstee wrote:
>
> On 30-09-14 03:29, Tom Everett wrote:
>> I am getting this compile error:
>>
>> scripts/Makefile.build:55:
>> /tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile: 
>>
>> No such file or directory
>>
>> gmake[1]: *** No rule to make target
>> `/tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile'. 
>>
>> Stop.
>>
>> It appears that the dir "/board/amd/sunxi" does not exist.  It should be
>> "/board/sunxi".
>>
>>
>

I stumbled upon the same problem, on FreeBSD, the root user seems
to have an VENDOR=amd env hanging around, hence u-boot's Makefile
cannot assign the correct value. (or it would need override at least).

Regards,
Jeroen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] compile issue with U-boot-2014.10-rc2 & Cubieboard
  2014-10-19 14:28   ` Jeroen Hofstee
@ 2014-10-20 19:01     ` Jeroen Hofstee
  2014-10-21  4:22       ` Masahiro Yamada
  0 siblings, 1 reply; 5+ messages in thread
From: Jeroen Hofstee @ 2014-10-20 19:01 UTC (permalink / raw)
  To: u-boot

Hello Masahiro,

On 19-10-14 16:28, Jeroen Hofstee wrote:
> Hello Tom,
>
> On 01-10-14 17:31, Jeroen Hofstee wrote:
>>
>> On 30-09-14 03:29, Tom Everett wrote:
>>> I am getting this compile error:
>>>
>>> scripts/Makefile.build:55:
>>> /tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile: 
>>>
>>> No such file or directory
>>>
>>> gmake[1]: *** No rule to make target
>>> `/tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile'. 
>>>
>>> Stop.
>>>
>>> It appears that the dir "/board/amd/sunxi" does not exist.  It 
>>> should be
>>> "/board/sunxi".
>>>
>>>
>>
>
> I stumbled upon the same problem, on FreeBSD, the root user seems
> to have an VENDOR=amd env hanging around, hence u-boot's Makefile
> cannot assign the correct value. (or it would need override at least).
>

I have a hard time understanding what exactly is going on here.
It has nothing to do with the type of shell / OS. e.g. linux/bash behaves
exactly the same with:

export VENDOR=toasted
make wandboard_quad_config all

scripts/Makefile.build:55: 
/home/jeroen/software/u-boot/board/toasted/wandboard/Makefile: No such 
file or directory
make[1]: *** No rule to make target 
`/home/jeroen/software/u-boot/board/toasted/wandboard/Makefile'. Stop.

The slightly shorter (in time) version below, shows similar behavior.
make distclean wandboard_quad_config include/config.h && cat 
include/config.h

This would make sense if I did `make VENDOR=toasted`, but that is not
the case. Can you shed some light on this, how does make end up using
the version of the original shell? And how can that be prevented?

Thanks,
Jeroen

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] compile issue with U-boot-2014.10-rc2 & Cubieboard
  2014-10-20 19:01     ` Jeroen Hofstee
@ 2014-10-21  4:22       ` Masahiro Yamada
  0 siblings, 0 replies; 5+ messages in thread
From: Masahiro Yamada @ 2014-10-21  4:22 UTC (permalink / raw)
  To: u-boot

Hi Tom and Jeroen,


On Mon, 20 Oct 2014 21:01:47 +0200
Jeroen Hofstee <jeroen@myspectrum.nl> wrote:

> Hello Masahiro,
> 
> On 19-10-14 16:28, Jeroen Hofstee wrote:
> > Hello Tom,
> >
> > On 01-10-14 17:31, Jeroen Hofstee wrote:
> >>
> >> On 30-09-14 03:29, Tom Everett wrote:
> >>> I am getting this compile error:
> >>>
> >>> scripts/Makefile.build:55:
> >>> /tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile: >>>
> >>> No such file or directory
> >>>
> >>> gmake[1]: *** No rule to make target
> >>> `/tank/home/tom/freebsd/uboot/u-boot-2014.10-rc2/board/amd/sunxi/Makefile'. >>>
> >>> Stop.
> >>>
> >>> It appears that the dir "/board/amd/sunxi" does not exist.  It >>> should be
> >>> "/board/sunxi".
> >>>
> >>>
> >>
> >
> > I stumbled upon the same problem, on FreeBSD, the root user seems
> > to have an VENDOR=amd env hanging around, hence u-boot's Makefile
> > cannot assign the correct value. (or it would need override at least).
> >
> 
> I have a hard time understanding what exactly is going on here.
> It has nothing to do with the type of shell / OS. e.g. linux/bash behaves
> exactly the same with:
> 
> export VENDOR=toasted
> make wandboard_quad_config all
> 
> scripts/Makefile.build:55: /home/jeroen/software/u-boot/board/toasted/wandboard/Makefile: No such file or directory
> make[1]: *** No rule to make target `/home/jeroen/software/u-boot/board/toasted/wandboard/Makefile'. Stop.
> 
> The slightly shorter (in time) version below, shows similar behavior.
> make distclean wandboard_quad_config include/config.h && cat include/config.h
> 
> This would make sense if I did `make VENDOR=toasted`, but that is not
> the case. Can you shed some light on this, how does make end up using
> the version of the original shell? And how can that be prevented?
> 


Sorry, this seems a bug.

Can you please check if this patch solve your problem?
http://patchwork.ozlabs.org/patch/401315/


Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-10-21  4:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-30  1:29 [U-Boot] compile issue with U-boot-2014.10-rc2 & Cubieboard Tom Everett
2014-10-01 15:31 ` Jeroen Hofstee
2014-10-19 14:28   ` Jeroen Hofstee
2014-10-20 19:01     ` Jeroen Hofstee
2014-10-21  4:22       ` Masahiro Yamada

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.