diff options
Diffstat (limited to 'tools/scripts')
| -rw-r--r-- | tools/scripts/Makefile.arch | 1 | ||||
| -rw-r--r-- | tools/scripts/Makefile.include | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/scripts/Makefile.arch b/tools/scripts/Makefile.arch index ad85b921a607..78d90a249e88 100644 --- a/tools/scripts/Makefile.arch +++ b/tools/scripts/Makefile.arch | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | HOSTARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ | 2 | HOSTARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ |
| 2 | -e s/sun4u/sparc/ -e s/sparc64/sparc/ \ | 3 | -e s/sun4u/sparc/ -e s/sparc64/sparc/ \ |
| 3 | -e /arm64/!s/arm.*/arm/ -e s/sa110/arm/ \ | 4 | -e /arm64/!s/arm.*/arm/ -e s/sa110/arm/ \ |
diff --git a/tools/scripts/Makefile.include b/tools/scripts/Makefile.include index 9dc8f078a83c..f5c95d4f56a1 100644 --- a/tools/scripts/Makefile.include +++ b/tools/scripts/Makefile.include | |||
| @@ -1,3 +1,4 @@ | |||
| 1 | # SPDX-License-Identifier: GPL-2.0 | ||
| 1 | ifneq ($(O),) | 2 | ifneq ($(O),) |
| 2 | ifeq ($(origin O), command line) | 3 | ifeq ($(origin O), command line) |
| 3 | ABSOLUTE_O := $(realpath $(O)) | 4 | ABSOLUTE_O := $(realpath $(O)) |
