Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12191] New: cmake BUILDDIR
@ 2019-09-05 17:31 bugzilla at busybox.net
  2019-09-05 18:48 ` [Buildroot] [Bug 12191] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2019-09-05 17:31 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12191

            Bug ID: 12191
           Summary: cmake BUILDDIR
           Product: buildroot
           Version: 2019.02.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: harshavardhan.bokil at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

I am building a cmake package that strictly does not allow in source build,
output/build/$(PKG_NAME)-$(PKG_VERSION)/buildroot-build is rejected. Suggest
this change which solves the problem

--- a/package/pkg-cmake.mk
+++ b/package/pkg-cmake.mk
@@ -66,9 +66,9 @@


 ifeq ($$($(3)_SUPPORTS_IN_SOURCE_BUILD),YES)
-$(2)_BUILDDIR                  = $$($(2)_SRCDIR)
-else
-$(2)_BUILDDIR                  = $$($(2)_SRCDIR)/buildroot-build
+$(2)_BUILDDIR                  ?= $$($(2)_SRCDIR)
+else
+$(2)_BUILDDIR                  ?= $$($(2)_SRCDIR)/buildroot-build
 endif

 #

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2019-09-08 16:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-05 17:31 [Buildroot] [Bug 12191] New: cmake BUILDDIR bugzilla at busybox.net
2019-09-05 18:48 ` [Buildroot] [Bug 12191] " bugzilla at busybox.net
2019-09-05 20:40 ` bugzilla at busybox.net
2019-09-06  1:21 ` bugzilla at busybox.net
2019-09-08 15:45 ` bugzilla at busybox.net
2019-09-08 16:39 ` bugzilla at busybox.net

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