Mercurial > hg > aboriginal
comparison simple-root-filesystem.sh @ 1398:b74d36876c0a
Replace read_arch_dir with load_target, which understands that sources/targets/$TARGET can be a file or a directory.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 26 Jun 2011 17:44:02 -0500 |
parents | 9252453c40d0 |
children | a4673f17b7c0 |
comparison
equal
deleted
inserted
replaced
1397:06f26d3b636e | 1398:b74d36876c0a |
---|---|
5 # Requires a cross-compiler (or simple-cross-compiler) in the $PATH or in | 5 # Requires a cross-compiler (or simple-cross-compiler) in the $PATH or in |
6 # the build directory. In theory you can supply your own as long as the | 6 # the build directory. In theory you can supply your own as long as the |
7 # prefix- name is correct. | 7 # prefix- name is correct. |
8 | 8 |
9 source sources/include.sh || exit 1 | 9 source sources/include.sh || exit 1 |
10 read_arch_dir "$1" | 10 load_target "$1" |
11 check_for_base_arch || exit 0 | 11 check_for_base_arch || exit 0 |
12 check_prerequisite "${ARCH}-cc" | 12 check_prerequisite "${ARCH}-cc" |
13 | 13 |
14 # Determine which directory layout we're using | 14 # Determine which directory layout we're using |
15 | 15 |