2 Star 0 Fork 277

GiteeIsBullshit/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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/giteeisbullshit/kernel.git
git@gitee.com:giteeisbullshit/kernel.git
giteeisbullshit
kernel
kernel
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385