diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-18 17:46:55 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-18 17:46:55 (EDT) |
commit | 420be76028fbfaaf8611149922f543f2e4ef1cbb (patch) | |
tree | 18053e14ed25afdf3d4c78c117ccd7304b429ff0 /build | |
parent | 86d7a2d255a85859fbbb9e2097d4e77b88b7394c (diff) |
build, targets.d/*.mk: Shorten gcc config macro names
Diffstat (limited to 'build')
-rwxr-xr-x | build | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -108,21 +108,21 @@ build-gcc-config: # These commands run once per target, but they modify files in the src/ # directory that other targets might also use, so backups are made. set -e; \ - [ -e "src/gcc/config/$(gcc_config_file).orig" ] || \ - mv "src/gcc/config/$(gcc_config_file)" \ - "src/gcc/config/$(gcc_config_file).orig"; \ - define_pattern=".define $(gcc_config_interp_macro)"; \ + [ -e "src/gcc/config/$(tm_file).orig" ] || \ + mv "src/gcc/config/$(tm_file)" \ + "src/gcc/config/$(tm_file).orig"; \ + define_pattern=".define $(tm_interp_macro)"; \ sed "s|^\($${define_pattern}\) \".*\"$$|\1 \"$(elf_interp)\"|" \ - "src/gcc/config/$(gcc_config_file).orig" \ - >"src/gcc/config/$(gcc_config_file)"; \ - [ -e "src/gcc/config/$(gcc_config_fragment).orig" ] || \ - mv "src/gcc/config/$(gcc_config_fragment)" \ - "src/gcc/config/$(gcc_config_fragment).orig"; \ - sed "$(gcc_config_fragment_script)" \ - "src/gcc/config/$(gcc_config_fragment).orig" \ - >"src/gcc/config/$(gcc_config_fragment)"; \ + "src/gcc/config/$(tm_file).orig" \ + >"src/gcc/config/$(tm_file)"; \ + [ -e "src/gcc/config/$(tmake_file).orig" ] || \ + mv "src/gcc/config/$(tmake_file)" \ + "src/gcc/config/$(tmake_file).orig"; \ + sed "$(tmake_script)" \ + "src/gcc/config/$(tmake_file).orig" \ + >"src/gcc/config/$(tmake_file)"; \ printf '\nMULTIARCH_DIRNAME = %s\n' "$(target)" \ - >>"src/gcc/config/$(gcc_config_fragment)" + >>"src/gcc/config/$(tmake_file)" build-native: build-gcc-config oh-autobuild -B "$(builddir)" -T $(native_target) -- \ |