From 44d204a405dd439a6d8e1ecc239faf8445dcbe55 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 18 May 2019 18:46:04 -0400 Subject: build: Split/improve build-gcc-config comments --- 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)\"|" \ -- cgit v0.9.1