diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-14 02:28:18 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-14 02:28:18 +0000 |
commit | 1df7426ab5786c466491e3e297da90a5dbfd2b4d (patch) | |
tree | d3cb7211bb1561271072e478058215e77820711e /0003-x86_energy_perf_policy-clang-compile-support.patch | |
parent | d5ed7f712cbda15b914c6dfb5f72f714eb8b7835 (diff) |
automatic import of haoc-kernelopeneuler24.03_LTSopeneuler22.03_LTS_SP4openeuler22.03_LTS_SP3
Diffstat (limited to '0003-x86_energy_perf_policy-clang-compile-support.patch')
-rw-r--r-- | 0003-x86_energy_perf_policy-clang-compile-support.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/0003-x86_energy_perf_policy-clang-compile-support.patch b/0003-x86_energy_perf_policy-clang-compile-support.patch new file mode 100644 index 0000000..2384105 --- /dev/null +++ b/0003-x86_energy_perf_policy-clang-compile-support.patch @@ -0,0 +1,24 @@ +From 55391ef2c74c32675038a7eb9c81769eba4622f6 Mon Sep 17 00:00:00 2001 +From: liyunfei <liyunfei33@huawei.com> +Date: Mon, 28 Aug 2023 11:06:32 +0800 +Subject: [PATCH] x86_energy_perf_policy clang compile support + +Modified Makefile with tools/scripts/Makefile.include for clang compile and clang cross compile support. +--- + tools/power/x86/x86_energy_perf_policy/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/power/x86/x86_energy_perf_policy/Makefile b/tools/power/x86/x86_energy_perf_policy/Makefile +index 666b325..c61227b 100644 +--- a/tools/power/x86/x86_energy_perf_policy/Makefile ++++ b/tools/power/x86/x86_energy_perf_policy/Makefile +@@ -1,5 +1,5 @@ + # SPDX-License-Identifier: GPL-2.0 +-CC = $(CROSS_COMPILE)gcc ++include ../../../scripts/Makefile.include + BUILD_OUTPUT := $(CURDIR) + PREFIX := /usr + DESTDIR := +-- +2.28.0.windows.1 + |