[U-Boot] [Reproducible-builds] [PATCH] build: create time and date independent binary
Paul Kocialkowski
contact at paulk.fr
Sun Jul 19 18:39:47 CEST 2015
Le dimanche 19 juillet 2015 à 17:47 +0200, Holger Levsen a écrit :
> > There seem to be two solutions to this:
> > * Including a script (e.g. the one from coreboot) to build the toolchain
> > as part of the build process
> > * Using native builds with visualization on the servers that run the
> > builds for the reproducible task force
> >
> > I tend to prefer the second one since it only requires a one-time setup
> > cost, while the other one, that requires to build toolchains for each
> > test build, implies a considerably longer build time for each test.
>
> these hosts also need maintenance so I actually prefer the first.
I understand. We could raise the topic on the U-Boot mailing list and
see whether adding the scripts to build the cross-compilers tu U-Boot
would be doable or not.
Otherwise, we can just grab those scripts aside the U-Boot source code
for the reproducible task, so that we don't have to wait for a long
discussion to conclude.
> > The basics for building U-Boot are the following (e.g. for the
> > Cubieboard2 target)
> > git clone git://git.denx.de/u-boot.git
> > cd u-boot
> > make -C $SRC O=$DST CROSS_COMPILE=$CROSS_COMPILE Cubieboard2_defconfig
> > make -C $SRC O=$DST CROSS_COMPILE=$CROSS_COMPILE
>
> aint there a makefile with a proper target? Also how to build these cross
> compilers?
I am using those scripts, that I wrote:
http://git.paulk.fr/gitweb/?p=embedded-freedom-scripts.git;a=tree;f=u-boot;h=f735bc015b056c3b63a0144703d7f7168382ca59;hb=HEAD
That can help but is not really usable as-is.
> > Let me know if you need more indications on this.
>
> yes, please. best a complete runnable script, aka a _working_ 5-10 liner, not
> the fancy one with variations, rebuilds and running debbindiff. Just the above
> "4 lines in working" - (those 4 lines dont work cause the variables are not
> defined...)
I could do that, but we have to figure out the toolchain issue first, I
suppose.
--
Paul Kocialkowski, Replicant developer
Replicant is a fully free Android distribution running on several
devices, a free software mobile operating system putting the emphasis on
freedom and privacy/security.
Website: http://www.replicant.us/
Blog: http://blog.replicant.us/
Wiki/tracker/forums: http://redmine.replicant.us/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150719/76224846/attachment.sig>
More information about the U-Boot
mailing list