Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] TOP_SRCDIR:  Where is it defined?
@ 2013-03-29 20:16 ANDY KENNEDY
  2013-04-04 11:49 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: ANDY KENNEDY @ 2013-03-29 20:16 UTC (permalink / raw)
  To: buildroot

Within the pkg-generic file, TOP_SRCDIR is used to define
$(PKG)_DIR_PREFIX:

buildroot-2013.02$ grep -R "TOP_SRCDIR" .
grep: ./system/skeleton/dev/log: No such file or directory
grep: ./system/skeleton/etc/resolv.conf: No such file or directory
./package/pkg-generic.mk:$(2)_DIR_PREFIX                        = $(if $(4),$(4),$(TOP_SRCDIR)/package)

This would be a problem only for some entity (which didn't set $4 to
$(call pkgparentdir)) directly calling inner-generic-package as
generic-package does do the call to pkgparentdir.

I'm just thinking this should be changed, however, I'm clueless about
the vision the developer who added this had in mind for TOP_SRCDIR, so
I have no suggestion how to change it.

FWIW,
Andy

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

end of thread, other threads:[~2013-04-04 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-29 20:16 [Buildroot] TOP_SRCDIR: Where is it defined? ANDY KENNEDY
2013-04-04 11:49 ` Arnout Vandecappelle

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