All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problem with new external tree syntax?
@ 2017-04-11 10:50 Adam Baxter
  2017-04-12 11:57 ` Adam Baxter
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Baxter @ 2017-04-11 10:50 UTC (permalink / raw)
  To: buildroot

Hi,
I'm having a problem with 2017.02 and the new BR2_EXTERNAL syntax.

external.desc is set, but the variable doesn't seem to be getting passed
through correctly.

voltagex at devbox:~/src/buildroot-skeleton$ make busybox
umask 0022 && make -C /home/voltagex/src/buildroot
O=/home/voltagex/src/buildroot-skeleton/build
BR2_EXTERNAL=/home/voltagex/src/buildroot-skeleton/external BR2_JLEVEL=12
busybox
for f in /configs/busybox.config ; do if [ ! -f "${f}" ]; then printf
"Kconfig fragment '%s' for '%s' does not exist\n" "${f}" "busybox"; exit 1;
fi; done
Kconfig fragment '/configs/busybox.config' for 'busybox' does not exist
package/busybox/busybox.mk:264: recipe for target '/configs/busybox.config'
failed
make[1]: *** [/configs/busybox.config] Error 1
Makefile:18: recipe for target '_all' failed
make: *** [_all] Error 2

The line that appears not to work in my defconfig is
BR2_PACKAGE_BUSYBOX_CONFIG="$(SKELETON_X86_64)/configs/busybox.config", as
you can see in the error message above.

The files I'm using are at
https://github.com/baxterworks-build/buildroot-skeleton/

Regards,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170411/a6556008/attachment.html>

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

* [Buildroot] Problem with new external tree syntax?
  2017-04-11 10:50 [Buildroot] Problem with new external tree syntax? Adam Baxter
@ 2017-04-12 11:57 ` Adam Baxter
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Baxter @ 2017-04-12 11:57 UTC (permalink / raw)
  To: buildroot

Solved!

Thanks to kos_tom on IRC.

Turns out I didn't quite read the manual correctly. See
https://buildroot.org/downloads/manual/manual.html#_layout_of_a_br2_external_tree

external.desc was set correctly, but the variable name in this case would
be $(BR2_EXTERNAL_SKELETON_X86_64_PATH), not what I'd already set.

Then, running make skeleton_defconfig && make busybox works correctly.

Regards,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170412/f906f47c/attachment.html>

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

end of thread, other threads:[~2017-04-12 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-11 10:50 [Buildroot] Problem with new external tree syntax? Adam Baxter
2017-04-12 11:57 ` Adam Baxter

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.