view more/native-build-from-build.sh @ 1522:95a720e694a6

Switch x86_64 from nptl back to pthreads. This isn't the correct fix but uClibc apparently never tested nptl on x86-64, and one of the assembly files doesn't support PIC.
author Rob Landley <rob@landley.net>
date Thu, 10 May 2012 22:03:22 -0500
parents 6173bb6f3b2c
children b89324905ca2
line wrap: on
line source

#!/bin/bash

# Run native build out of build directory, using host-tools.sh if
# available.

PATH="$(pwd)/build/host:$PATH"

X=$(readlink -f "$2" 2>/dev/null)
if [ -z "$X" ]
then
  echo "No control image $2" >&2
  exit 1
fi

cd build/system-image-"$1" && ./native-build.sh "$X"