1 Star 0 Fork 8

温志伟/src-nestos-kernel

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0004-turbostat-clang-compile-support.patch 796 Bytes
一键复制 编辑 原始数据 按行查看 历史
Super User 提交于 2024-04-11 10:58 . Initialize nestos 2403 repository
From bddde6f3d75afb734862150e2fb80af9cf3e00f9 Mon Sep 17 00:00:00 2001
From: liyunfei <liyunfei33@huawei.com>
Date: Mon, 28 Aug 2023 11:09:03 +0800
Subject: [PATCH] turbostat clang compile support
Modified Makefile with tools/scripts/Makefile.include for clang compile and clang cross compile support.
---
tools/power/x86/turbostat/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/power/x86/turbostat/Makefile b/tools/power/x86/turbostat/Makefile
index 92e139b..f4de368 100644
--- a/tools/power/x86/turbostat/Makefile
+++ b/tools/power/x86/turbostat/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/wenzhiwei11/src-nestos-kernel.git
git@gitee.com:wenzhiwei11/src-nestos-kernel.git
wenzhiwei11
src-nestos-kernel
src-nestos-kernel
master

搜索帮助