Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] uboot.pbl - make 'include' issue
@ 2014-04-30 21:20 Ryan Barnett
  2014-04-30 22:39 ` Yann E. MORIN
  0 siblings, 1 reply; 7+ messages in thread
From: Ryan Barnett @ 2014-04-30 21:20 UTC (permalink / raw)
  To: buildroot

I have recently been working on trying to get support for the u-boot.pbl 
image format into buildroot. I submitted an initial patch set back in 
October and was given feedback to break out the boot/uboot/uboot.mk into 
processor specific architectures. Thomas Petazzoni and I did some initial 
work to split these out and he provide an example. I have been trying to 
take this work that he did and submit an updated patch set. However, I 
have hit a roadblock for which I can't seem to debug or figure out what is 
going wrong.

When I breakout defines and variables in boot/uboot/uboot.mk into separate 
files and add the following line:

include boot/uboot/*/*.mk

Once I add this to uboot.mk, the rules for uboot no longer work. Using any 
configuration, I can no longer do anything like this:

make uboot
make uboot-dirclean

Running the above yields the following error:

make[1]: *** No rule to make target `uboot'.  Stop.
make: *** [_all] Error 2

It seems that the include statement is affecting the $(eval 
$(generic-package)) call which generates the rules for uboot. However, I 
am able to copy the contents of both of my architecture specific changes 
verbatim into uboot.mk and they will work (when I remove or comment out 
the include statement). This leads me to believe that I do not have a 
syntax issue with the files. I have found that linux/linux.mk does the 
same thing and it works which is why this is very confusing to me.

I have put my recent work on a github branch - the top 3 patches are 
modification that I have done to head. If anybody has suggestions on how 
to fix this issue, please let me know.

https://github.com/rjbarnet/buildroot/tree/uboot-pbl

My original patch submission can be found here:
http://patchwork.ozlabs.org/bundle/rjbarnet/uboot-pbl/?state=*

Feedback from Thomas Petazzoni:
http://lists.busybox.net/pipermail/buildroot/2013-December/084613.html

Thanks,
-Ryan

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

end of thread, other threads:[~2014-05-01 16:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-30 21:20 [Buildroot] uboot.pbl - make 'include' issue Ryan Barnett
2014-04-30 22:39 ` Yann E. MORIN
2014-04-30 22:42   ` Yann E. MORIN
2014-04-30 22:47   ` Thomas Petazzoni
2014-04-30 23:02     ` Yann E. MORIN
2014-05-01  0:26       ` Thomas Petazzoni
2014-05-01 16:58       ` rjbarnet at rockwellcollins.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox