1 Star 0 Fork 258

woqidaideshi/kernel

forked from src-openEuler/kernel 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0003-x86_energy_perf_policy-clang-compile-support.patch 877 Bytes
一键复制 编辑 原始数据 按行查看 历史
liyunfei 提交于 2023-08-24 16:10 . add clang toolchain support
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/woqidaideshi/kernel.git
git@gitee.com:woqidaideshi/kernel.git
woqidaideshi
kernel
kernel
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385