view more/repo.sh @ 1786:0787ceb820bf draft 1.4.2

When x86-64 switched on NPTL in uClibc, distcc broke, and it turns out fully native compiles under qemu never worked due to qemu not quite emulating floating point right and confusing the perl build with zero not comparing equal to zero. As long as it's broken anyway, switch it over to musl and fix it up on that side. It's no longer worth trying to fix anything broken in uClibc, the project is dead. (I'm aware of uClibc-ng, and am treating it exactly the same way I treated the ecommstation reboot of OS/2.)
author Rob Landley <rob@landley.net>
date Fri, 11 Sep 2015 13:25:14 -0500
parents da21ff27331e
children
line wrap: on
line source

#!/bin/bash

# Populate a few source control directories. If they exist, they'll be used
# instead of source tarballs. (Note: if you want to apply patches you'll have
# to do it yourself, sources/patches only applies to tarballs.)

mkdir -p packages &&
if [ ! -d packages/busybox ]
then
  git clone git://busybox.net/busybox packages/busybox || exit 1
else
  (cd packages/busybox && git pull) || exit 1
fi

if [ ! -d packages/uClibc ]
then
  git clone git://uclibc.org/uClibc packages/uClibc
else
  (cd packages/uClibc && git pull) || exit 1
fi

if [ ! -d packages/linux ]
then
  git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 \
    packages/linux || exit 1
else
  (cd packages/linux && git pull) || exit 1
fi

if [ ! -d packages/toybox ]
then
  hg clone http://landley.net/hg/toybox packages/toybox || exit 1
else
  (cd packages/toybox && hg pull -u) || exit 1
fi