summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 18:46:04 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-05-18 18:46:04 (EDT)
commit44d204a405dd439a6d8e1ecc239faf8445dcbe55 (patch)
tree3cf31faa0882578f94e27ab5f31beba3bccf7248
parentad1b85f7df9703af0cb0e3288f7558c1d14c0450 (diff)
build: Split/improve build-gcc-config comments
-rwxr-xr-xbuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/build b/build
index 640c96e..e8a282e 100755
--- a/build
+++ b/build
@@ -102,13 +102,13 @@ configure-native configure-cross:
$(extra_opts); \
fi
+# This rule sets (host- and) target-dependent paths in files in gcc/config.
+# They must be edited here rather than in a patch because any given GCC target
+# configuration can be used by multiple ProteanOS targets. These commands run
+# once per target, but they modify files in the src/ directory that other
+# targets might also use, so backups are made.
build-gcc-config:
# Set the default dynamic linker path inserted into ELF INTERP fields.
- # These default values are in header files in gcc/config. They must be
- # edited here rather than in a patch because any given GCC target
- # configuration can be used by multiple ProteanOS targets.
- # These commands run once per target, but they modify files in the src/
- # directory that other targets might also use, so backups are made.
[ -e "$(tm)/$(tm_file).orig" ] || \
mv "$(tm)/$(tm_file)" "$(tm)/$(tm_file).orig"
sed "s|^\(#define $(tm_interp_macro)\) \".*\"$$|\1 \"$(elf_interp)\"|" \