[Buildroot] [Bug 9866] New: BASE_DIR usage

bugzilla at busybox.net bugzilla at busybox.net
Tue May 16 13:31:57 UTC 2017


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

            Bug ID: 9866
           Summary: BASE_DIR usage
           Product: buildroot
           Version: 2017.02
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: jpcartal at free.fr
                CC: buildroot at uclibc.org
  Target Milestone: ---

I'm trying to use the printvars target from a post image shell script and I
would like this script to support both default output directory ie
buildroot/output as well as O= option.
Thus I'm calling the printvars target as follow :
make -C ${BASE_DIR} printvars
However this code will only work if O= option is used, since in this case the
BASE_DIR directory will contain the main Makefile.
Is there any variable that will contain the directory which contains the main
Makefile file ?
Wouldn't it be more coherent if the BASE_DIR would point to directories with
similar content without depending on O= option ?

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


More information about the buildroot mailing list