Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
17f690be
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
17f690be
编写于
10月 22, 2007
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[MIPS] Kbuild: Use the new cc-cross-prefix feature.
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
9490094b
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
10 addition
and
20 deletion
+10
-20
arch/mips/Kconfig.debug
arch/mips/Kconfig.debug
+0
-12
arch/mips/Makefile
arch/mips/Makefile
+10
-8
未找到文件。
arch/mips/Kconfig.debug
浏览文件 @
17f690be
...
@@ -6,18 +6,6 @@ config TRACE_IRQFLAGS_SUPPORT
...
@@ -6,18 +6,6 @@ config TRACE_IRQFLAGS_SUPPORT
source "lib/Kconfig.debug"
source "lib/Kconfig.debug"
config CROSSCOMPILE
bool "Are you using a crosscompiler"
help
Say Y here if you are compiling the kernel on a different
architecture than the one it is intended to run on. This is just a
convenience option which will select the appropriate value for
the CROSS_COMPILE make variable which otherwise has to be passed on
the command line from mips-linux-, mipsel-linux-, mips64-linux- and
mips64el-linux- as appropriate for a particular kernel configuration.
You will have to pass the value for CROSS_COMPILE manually if the
name prefix for your tools is different.
config CMDLINE
config CMDLINE
string "Default kernel command string"
string "Default kernel command string"
default ""
default ""
...
...
arch/mips/Makefile
浏览文件 @
17f690be
...
@@ -18,15 +18,15 @@ cflags-y :=
...
@@ -18,15 +18,15 @@ cflags-y :=
# Select the object file format to substitute into the linker script.
# Select the object file format to substitute into the linker script.
#
#
ifdef
CONFIG_CPU_LITTLE_ENDIAN
ifdef
CONFIG_CPU_LITTLE_ENDIAN
32bit-tool-
prefix
=
mipsel-linux-
32bit-tool-
archpref
=
mipsel
64bit-tool-
prefix
=
mips64el-linux-
64bit-tool-
archpref
=
mips64el
32bit-bfd
=
elf32-tradlittlemips
32bit-bfd
=
elf32-tradlittlemips
64bit-bfd
=
elf64-tradlittlemips
64bit-bfd
=
elf64-tradlittlemips
32bit-emul
=
elf32ltsmip
32bit-emul
=
elf32ltsmip
64bit-emul
=
elf64ltsmip
64bit-emul
=
elf64ltsmip
else
else
32bit-tool-
prefix
=
mips-linux-
32bit-tool-
archpref
=
mips
64bit-tool-
prefix
=
mips64-linux-
64bit-tool-
archpref
=
mips64
32bit-bfd
=
elf32-tradbigmips
32bit-bfd
=
elf32-tradbigmips
64bit-bfd
=
elf64-tradbigmips
64bit-bfd
=
elf64-tradbigmips
32bit-emul
=
elf32btsmip
32bit-emul
=
elf32btsmip
...
@@ -34,16 +34,18 @@ else
...
@@ -34,16 +34,18 @@ else
endif
endif
ifdef
CONFIG_32BIT
ifdef
CONFIG_32BIT
tool-
prefix
=
$
(
32bit-tool-prefix
)
tool-
archpref
=
$
(
32bit-tool-archpref
)
UTS_MACHINE
:=
mips
UTS_MACHINE
:=
mips
endif
endif
ifdef
CONFIG_64BIT
ifdef
CONFIG_64BIT
tool-
prefix
=
$
(
64bit-tool-prefix
)
tool-
archpref
=
$
(
64bit-tool-archpref
)
UTS_MACHINE
:=
mips64
UTS_MACHINE
:=
mips64
endif
endif
ifdef
CONFIG_CROSSCOMPILE
ifneq
($(SUBARCH),$(ARCH))
CROSS_COMPILE
:=
$
(
tool-prefix
)
ifeq
($(CROSS_COMPILE),)
CROSS_COMPILE
:=
$(
call
cc-cross-prefix,
$
(
tool-archpref
)
-linux-
$
(
tool-archpref
)
-gnu-linux-
$
(
tool-archpref
)
-unknown-gnu-linux-
)
endif
endif
endif
ifdef
CONFIG_32BIT
ifdef
CONFIG_32BIT
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录