changeset | 297a5d07c73b |
---|---|
branch | |
bookmark | |
tag | |
user | Geoff Salmon <geoff@se-instruments.com> |
description | There are some uses of ${ARCH}-cc and ${ARCH}-strip remaining in root-filesystem.sh. Below is a patch to replace them with ${CC_PREFIX}. Also I'll first sneak in a small patch to change PS1 in init.sh to expand the HOST and CPUS vars. |
files |
changeset | fb05f99ffcce |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Collate site-local variables under "MY_XXX" prefix: MY_PATCH_DIR, MY_ROOT_OVERLAY, MY_CROSS_PATH and MY_CROSS_PREFIX. |
files |
changeset | acaa88463c0c |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Add CROSS_COMPILER_PATH and CC_PREFIX knobs. |
files |
changeset | f326dbd73bee |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Rename SIMPLE_ROOT_OVERLAY to ROOT_OVERLAY since simple-root-filesystem became root-filesystem. |
files |
changeset | 7f1b9fb1099e |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Move simple-root-filesystem.sh to root-filesystem.sh |
files |
changeset | f1d2afdf2034 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Add base_architecture, make base architectures and extra targets work, and move i586 virtio stuff to new i686-kvm target. |
files |
changeset | b74d36876c0a |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Replace read_arch_dir with load_target, which understands that sources/targets/$TARGET can be a file or a directory. |
files |
changeset | c7dfe0e54a80 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Might as well preserve hard links while assembling root-filsystem. Neither busybox tar nor mksquashfs are currently using them, but maybe someday... |
files |
changeset | 42496ee2815f |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Fix regression: make #!/bin/sh point to bash instead of busybox shell for dev environment. (Oops.) |
files |
changeset | 78e786334c5b |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Polish the strip logic a bit. |
files |
changeset | 2b7100b7de0c |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Remember to make the root-filesystem tarball. |
files |
changeset | e5f9681a8b3c |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Lots of comment updates. Add a NO_HOST_TOOLS=1 config option, and a few "time" calls to stages that didn't have them. Put native-compiler.sh after root-filesystem.sh in build so it's slightly easier to document. |
files |
changeset | 2b68517f5b62 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Break out simple-root-filesystem.sh and root-filesystem.sh (adding native-compiler.sh output), and use NO_NATIVE_COMPILER to determine which to use. Rename STATIC_CC_HOST to CROSS_HOST_ARCH. |
files |
changeset | a0bc889b4269 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Tweak: some things install their man pages into /usr/man, and some into /usr/share/man. Symlink 'em together so there's just the one. |
files |
changeset | cb4dbdb7f2cd |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Make BUILD_STATIC take comma separated list of packages, or "all" or "none". Default behavior should remain the same. |
files |
changeset | abc8ddd4d9f0 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Don't have root-filesystem.sh suck in the native-compiler.sh output, have build.sh collate those instead before calling system-image.sh. (That way the root-filesystem.sh tarball does't include the native compiler output.) |
files |
changeset | e021bba5e22e |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Yank ugly STAGE_DIR adjustment and instead teach busybox/toybox bilds to auto-detect "bin" directory on install. (And while we're at it, don't build hello-dynamic on static-only system.) |
files |
changeset | 27c38c82401d |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Move make, bash, and distcc builds into native-compiler.sh. (Break 'em out into sources/sections/*.build.) |
files |
changeset | 2d5e356580b9 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Move sources/native to sources/native-root |
files |
changeset | edf9264f2d26 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Make root filesystem's usr/src has config-linux and config-uClibc as well as config-busybox. |
files |
changeset | fc134a13357e |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Largeish refactoring and cleanup of compiler build: Break out native-compiler.sh from root-filesystem.sh NATIVE_TOOLCHAIN=* went away now NO_NATIVE_COMPILER=1 affecting build.sh root-filesystem.sh: Much simplified No more ROOT_TOPDIR, adjust STAGE_DIR=$STAGE_DIR/usr instead. Doesn't build native-compiler, instead copies existing native-compiler else installs library binaries out of cross compiler. Only build make/bash/distcc when we have a native compiler. native-compiler.sh: No more BUILD_STATIC_NATIVE_COMPILER, now built/packaged separately by default (NO_NATIVE_COMPILER=1 to skip), then incorporated into root-filesystem. now static by default, use BUILD_STATIC=none to override This script also makes the (optional) full cross-compiler renamed STATIC_CROSS_COMPILER_HOST to STATIC_CC_HOST Rename cross-compiler stage to simple-cross-compiler |
files |
changeset | 7dd3fb4dd333 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Minor cleanups and comments, introduce check_prerequisite function. |
files |
changeset | f2b4d7297c9d |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Largeish cleanup of ccwrap.c. Remove lots of uclibc-isms, put rawcc in tools/bin. |
files |
changeset | a69213462fbe |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | If "$CCWRAP" is quoted it gets passed in as a blank argument when empty, confusing the compiler. |
files |
changeset | 18f052489f5d |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Make ccwrap, hello, busybox, and toybox respect SKIP_STRIP and CFLAGS=-g. |
files |
changeset | f1671488c740 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Split busybox and toybox builds, update toybox and linux package versions. |
files |
changeset | 890aa372ee30 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Remove old USE_COLOR code, superceded by set_titlebar. |
files |
changeset | 5e0cbc73da55 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Split out linux-headers, uClibc, and uClibc++ as their own sections. |
files |
changeset | 023b577fb865 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Break up sources/sections/binutils-gcc.sh into binutils, gcc, and ccwrap, plus more gcc->cc cleanup. |
files |
changeset | db0f536aee7c |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Fix hw-target builds so prerequisites build if they don't already exist. |
files |
changeset | 626288dd5cf3 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Lots of comments. |
files |
changeset | d81382a8bb66 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | More stuff to make running a guest user potentially useful. |
files |
changeset | 563c1abb06d0 |
---|---|
branch | |
bookmark | |
tag | 0.9.8 |
user | Rob Landley <rob@landley.net> |
description | The export command won't allow environment variable names to have dashes in them, and ccwrap.c already converts - into _ when checking ${ARCH}_WRAPPER_TOPDIR. But apparently I didn't remember to do that when _setting_ the variable. Oops. |
files |
changeset | 3794d9a0be4c |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Add SKIP_STRIP configuration option to do what it says on the tin, and stop blanking CFLAGS and CFLAGSXX so "export CFLAGS=-g" can pass through to package builds. |
files |
changeset | 5dd1a99a0737 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Factor out more common code: busybox and toybox builds. |
files |
changeset | 3cd64af0d1b6 |
---|---|
branch | |
bookmark | |
tag | |
user | Mark Miller <mark@mirell.org> |
description | Merging the branch between landley and mirell |
files |
changeset | f80c47e8991d |
---|---|
branch | |
bookmark | |
tag | |
user | Mark Miller <mark@mirell.org> |
description | Abstract the C library away from uClibc, so when more build sections are added potentially (For glibc, eglibc, et cetera), nothing needs to be changed in the other files |
files |
changeset | 18fa21056b01 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | System Images' sbin/init.sh should mount /dev/hdc (if it exists) on /mnt, and then run /mnt/init (instead of a shell prompt) if that exists. |
files |
changeset | d1a88d878e18 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Factor out and unify binutils, gcc, and ccwrap builds. |
files |
changeset | da1ebb2e22d3 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Part one of the great refactoring, breaking out the uClibc build so it isn't repeated in two places. |
files |
changeset | 8129df56091b |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Extended setupfor/cleanup to create binary package tarballs if the configure option BINARY_PACKAGE_TARBALLS is set. These tarballs extract into the current directory and add all the changed files installed by this package build, so you can pick and choose when assembling your own filesystem. |
files |
changeset | d0b74a631587 |
---|---|
branch | |
bookmark | |
tag | 0.9.7 |
user | Rob Landley <rob@landley.net> |
description | Teach ccwrap.c to use arch-specific WRAPPER_TOPDIR values, to avoid interfering with canadian cross. |
files |
changeset | d6bf46d17ac5 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Make sparc build a static version. (Yes, this involves rubbing the distcc ./configure's nose in something to avoid a gratuitous build break.) The result bots to a shell prompt! Which then has a bus error if you try to do an "ls -l" and freezes if you "echo *". Still, that's progress... |
files |
changeset | 81cf7ae7afce |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Teach make, bash, and distcc to honor BUILD_STATIC=1. |
files |
changeset | db06a8c1bfed |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Lots of changes to move buildall.sh functionality into build.sh. Upgrade build.sh to be able to create static cross compilers and static native compilers via canadian cross. Teach build stages to use $STAGE_NAME for their output directory (and tarballs, and === notifications). Remove LFS style /tools support (since host-tools.sh performs an equivalent cleaning step and it's a pain to maintain it), add ROOT_NODIRS instead. |
files |
changeset | 5c6ebb711b72 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Check for both prerequisite compilers of a canadian cross, and use $ARCH-cc instead of $ARCH-gcc more. |
files |
changeset | a179f03cb825 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Don't both mkdir and ln -s /etc. (Spotted by Niklas Brunb?ck.) |
files |
changeset | 34f9a88336a8 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Move stable to gcc-4.2.1, and use an even _bigger_ hammer to make canadian builds work with that. (./configure sucks even _more_ in this version, big shock there.) |
files |
changeset | 759adf5a0fe9 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Refactor so include.sh mostly just sets environment variables. Move read_arch_dir to function and call it explicitly (no more need for $NO_ARCH). Make blank_tempdir a function, called explicitly by stages when needed, with some sanity checks. Insert prerequisite tests to later stages so they can detect failure early and provide an explicit erro rmessage, and have those tests happen before blanking $WORK dir, to preserve debugging info. Make buildall.sh depend on prerequisite tests rather than trying to avoid calling later stages (and thus do flow control from asynchronous context). Add FAIL_QUIET option so buildall.sh doesn't spam the log with the new prerequisite error messages. |
files |
changeset | 5f5c3747f475 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Use $ARCH-cc instead of $ARCH-gcc where possible. (pcc, llvm, tcc, qcc...) |
files |
changeset | feec13d32dde |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Squashfs needs an /etc/resolv.conf, not just /usr/etc/resolv.conf |
files |
changeset | db5cb617339a |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Centrialize BUILD_STATIC and make it apply to more of root-filesystem.sh |
files |
changeset | f0ede6d6c952 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Do canadian cross static toolchains properly, via buildall.sh. |
files |
changeset | ff2cd7c539b2 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Make canadian cross work by nailing binutils files to gcc's forehead. |
files |
changeset | db04bd3c11e0 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | First pass at canadian cross toolchain build. Result doesn't actually work yet, but it builds. |
files |
changeset | 9282f84b31a1 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Add NATIVE_TOOLCHAIN=only, to build _just_ the native toolchain (sae set of packages as the cross compiler, only --enable-shared and with uClibc++). |
files |
changeset | 20ba34b54140 |
---|---|
branch | |
bookmark | |
tag | |
user | Rob Landley <rob@landley.net> |
description | Rename mini-native.sh to root-filesystem.sh, since that's what it builds. |
files |