Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 4922] New: Please consider introducing host-make for building software packages within the buildroot
@ 2012-03-14 23:58 bugzilla at busybox.net
  2012-03-15  7:07 ` [Buildroot] [Bug 4922] " bugzilla at busybox.net
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla at busybox.net @ 2012-03-14 23:58 UTC (permalink / raw)
  To: buildroot

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

           Summary: Please consider introducing host-make for building
                    software packages within the buildroot
           Product: buildroot
           Version: 2012.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: develop at kristov.de
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created attachment 4136
  --> https://bugs.busybox.net/attachment.cgi?id=4136
changes the core build system to correctly include host-make into the build
process

Currently, the host's 'make' utility is used to build the software packages in
the buildroot. However, it would be more flexible if -- similar to
host-autoconf, host-automake etc. -- at the very beginning a buildroot-specific
host-make would be built (using the host's 'make') which is later used for
building all the rest.

Why would this be useful? For one, it would allow to be independent of the
host's 'make' and, consequently, guarantee specific 'make' behaviour.
Additionally, one would be able to patch 'make'. In my case, I wanted to patch
make 3.82 such that $(wildcard ...) results are sorted as in previous versions,
as this is the only way to guarantee that the same binaries are produced each
time the software packages are built. (Otherwise, the *.o files may be passed
in different orders to the linker as, due to -j2, the object files may be
created differently on each build, causing slightly different binaries due to
symbols being reordered.)

I have attached a simple patch that allows this. I'm afraid the patch is not
quite complete as it does not change the 'make' version check in
support/dependencies/dependencies.sh which can probably be weakened as the
host's 'make' is basically only used for building host-make and some
configuration programs. But it should definitely provide a good start. With
this patch, I'm able to successfully using a patched 'make' in the current
buildroot (2012.02).

Kind regards,

Christoph Schulz

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

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

end of thread, other threads:[~2013-05-26 15:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-14 23:58 [Buildroot] [Bug 4922] New: Please consider introducing host-make for building software packages within the buildroot bugzilla at busybox.net
2012-03-15  7:07 ` [Buildroot] [Bug 4922] " bugzilla at busybox.net
2012-03-15  9:33 ` bugzilla at busybox.net
2012-03-16 10:04 ` bugzilla at busybox.net
2012-03-23 20:59 ` bugzilla at busybox.net
2012-03-23 22:26 ` bugzilla at busybox.net
2012-03-24  9:47 ` bugzilla at busybox.net
2012-04-01  6:42 ` bugzilla at busybox.net
2013-05-26 15:17 ` 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