[Bugme-new] [Bug 21592] New: When kernel is built to separate directory (make O=...) makefile misses SUBLEVEL and EXTRAVERSION

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sun Oct 31 15:41:48 PDT 2010


https://bugzilla.kernel.org/show_bug.cgi?id=21592

           Summary: When kernel is built to separate directory (make
                    O=...) makefile misses SUBLEVEL and EXTRAVERSION
           Product: Other
           Version: 2.5
    Kernel Version: 2.6.35.7
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: other_other at kernel-bugs.osdl.org
        ReportedBy: nitr0 at seti.kr.ua
        Regression: No


I tried to compile embedded distro with different kernels, so I placed output
files for different configs into separate folders.
I discovered that some software for it's configure script needs kernel htaders,
it looks for include/linux/version.h (so it requires to specify of output
folder as folder with kernel sources), and it takes versioninfo from Makefile
lines.
But into generated makefile there are only version and patchlevel, and
sublevel/extraversion are missed, and configure script becomes confused.
Now I added hack for my scripts - I appended into end of Makefile
sublevel/extraversion lines, but it'll be good if in future this will be fixed.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list