Mercurial > hg > aboriginal
comparison native-compiler.sh @ 1034:27c38c82401d
Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 11 Apr 2010 15:21:00 -0500 |
parents | 48784ae8533e |
children | cb4dbdb7f2cd |
comparison
equal
deleted
inserted
replaced
1033:87b3a69ca71c | 1034:27c38c82401d |
---|---|
32 | 32 |
33 build_section binutils | 33 build_section binutils |
34 build_section gcc | 34 build_section gcc |
35 build_section ccwrap | 35 build_section ccwrap |
36 | 36 |
37 # Tell future packages to link against the libraries in the new root filesystem, | 37 # Tell future packages to link against the libraries in the new compiler, |
38 # rather than the ones in the cross compiler directory. | 38 # rather than the ones in the simple compiler. |
39 | 39 |
40 export "$(echo $ARCH | sed 's/-/_/g')"_CCWRAP_TOPDIR="$STAGE_DIR" | 40 export "$(echo $ARCH | sed 's/-/_/g')"_CCWRAP_TOPDIR="$STAGE_DIR" |
41 | 41 |
42 build_section uClibc++ | 42 build_section uClibc++ |
43 | 43 |
44 # For a native compiler, build make, bash, and distcc. (Yes, this is an old | |
45 # version of Bash. It's intentional.) | |
46 | |
47 if [ "$FROM_ARCH" == "$ARCH" ] | |
48 then | |
49 build_section make | |
50 build_section bash | |
51 build_section distcc | |
52 fi | |
53 | |
44 # Delete some unneeded files | 54 # Delete some unneeded files |
45 | 55 |
46 [ -z "$SKIP_STRIP" ] && rm -rf "$STAGE_DIR"/{info,man} | 56 [ -z "$SKIP_STRIP" ] && |
57 rm -rf "$STAGE_DIR"/{info,man,libexec/gcc/*/*/install-tools} | |
47 | 58 |
48 create_stage_tarball | 59 create_stage_tarball |