lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <ed99c37b653b909348a7e99e5fc51cf676008002.1691783604.git.falcon@tinylab.org>
Date:   Sat, 12 Aug 2023 04:33:48 +0800
From:   Zhangjin Wu <falcon@...ylab.org>
To:     falcon@...ylab.org, w@....eu
Cc:     linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
        tanyuan@...ylab.org, thomas@...ch.de
Subject: [PATCH v2 6/7] selftests/nolibc: import cc-cross-prefix macro

cc-cross-prefix is required to return first <prefix> where a <prefix>gcc
is found in PATH, this allows to customize more than one cross compiler.

Since scripts/Makefile.compiler provides cc-option too, let's use it
instead of tools/build/Build.include.

Signed-off-by: Zhangjin Wu <falcon@...ylab.org>
---
 tools/testing/selftests/nolibc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile
index 9a787fdf9842..7687988c780b 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 # Makefile for nolibc tests
-# We need this for the "cc-option" macro.
-include ../../../build/Build.include
+# We need this for the "cc-option" and "cc-cross-prefix" macros.
+include ../../../../scripts/Makefile.compiler
 
 # we're in ".../tools/testing/selftests/nolibc"
 ifeq ($(srctree),)
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ