Am Dienstag, den 21.02.2012, 16:09 +0100 schrieb Michael Olbrich: > Hi, > > On Tue, Feb 21, 2012 at 02:54:57PM +0100, Jan Weitzel wrote: > > I am looking for a way to build a MLO (xloader) from barebox sources. > > How can I reuse the barebox sources? I tried to play with > > BAREBOX_BUILD_OOT, but didn't got a -build dir. > > You can only use *_OOT this is implemented in ptxdist for the used > conf_tool. This only works for autoconf, qmake and cmake right now. > > You'd create separate rules for the MLO, right? Just reuse the same url, > source etc. as barebox but use a different <PKG>_DIR. PTXdist will then > extract the same patches into a different directory. > This works much better reusing the same source in multiple packages.
Ok, is there a way to reuse BAREBOX_SOURCE rules/barebox_mlo.make: BAREBOX_MLO_SOURCE := $(BAREBOX_SOURCE) didn't work. Jan -- ptxdist mailing list ptxdist@pengutronix.de