Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
25fff6aa
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
25fff6aa
编写于
10月 27, 2015
作者:
R
Rob Herring
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'all-dtbs-v2' into for-next
上级
3f5ceec9
99085704
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
44 addition
and
9 deletion
+44
-9
arch/arc/Makefile
arch/arc/Makefile
+1
-1
arch/arc/boot/dts/Makefile
arch/arc/boot/dts/Makefile
+4
-2
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/Makefile
+3
-0
arch/arm64/boot/dts/Makefile
arch/arm64/boot/dts/Makefile
+6
-0
arch/h8300/boot/dts/Makefile
arch/h8300/boot/dts/Makefile
+3
-0
arch/metag/Makefile
arch/metag/Makefile
+1
-1
arch/metag/boot/dts/Makefile
arch/metag/boot/dts/Makefile
+3
-4
arch/mips/boot/dts/Makefile
arch/mips/boot/dts/Makefile
+3
-0
arch/xtensa/Makefile
arch/xtensa/Makefile
+4
-0
arch/xtensa/boot/dts/Makefile
arch/xtensa/boot/dts/Makefile
+6
-1
drivers/of/Kconfig
drivers/of/Kconfig
+10
-0
未找到文件。
arch/arc/Makefile
浏览文件 @
25fff6aa
...
@@ -121,7 +121,7 @@ $(boot_targets): vmlinux
...
@@ -121,7 +121,7 @@ $(boot_targets): vmlinux
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
dtbs
:
scripts
dtbs
:
scripts
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
dtbs
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
archclean
:
archclean
:
$(Q)$(MAKE)
$(clean)
=
$(boot)
$(Q)$(MAKE)
$(clean)
=
$(boot)
...
...
arch/arc/boot/dts/Makefile
浏览文件 @
25fff6aa
...
@@ -6,10 +6,12 @@ ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
...
@@ -6,10 +6,12 @@ ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
endif
endif
obj-y
+=
$
(
builtindtb-y
)
.dtb.o
obj-y
+=
$
(
builtindtb-y
)
.dtb.o
targets
+
=
$
(
builtindtb-y
)
.dtb
dtb-y
:
=
$
(
builtindtb-y
)
.dtb
.SECONDARY
:
$(obj)/$(builtindtb-y).dtb.S
.SECONDARY
:
$(obj)/$(builtindtb-y).dtb.S
dtbs
:
$(addprefix $(obj)/
,
$(builtindtb-y).dtb)
dtstree
:=
$(srctree)
/
$(src)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
wildcard
$(dtstree)
/
*
.dts
))
always
:=
$
(
dtb-y
)
clean-files
:=
*
.dtb
*
.dtb.S
clean-files
:=
*
.dtb
*
.dtb.S
arch/arm/boot/dts/Makefile
浏览文件 @
25fff6aa
...
@@ -740,5 +740,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
...
@@ -740,5 +740,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
dtb-$(CONFIG_ARCH_ZX)
+=
zx296702-ad1.dtb
dtb-$(CONFIG_ARCH_ZX)
+=
zx296702-ad1.dtb
endif
endif
dtstree
:=
$(srctree)
/
$(src)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
wildcard
$(dtstree)
/
*
.dts
))
always
:=
$
(
dtb-y
)
always
:=
$
(
dtb-y
)
clean-files
:=
*
.dtb
clean-files
:=
*
.dtb
arch/arm64/boot/dts/Makefile
浏览文件 @
25fff6aa
...
@@ -14,3 +14,9 @@ dts-dirs += sprd
...
@@ -14,3 +14,9 @@ dts-dirs += sprd
dts-dirs
+=
xilinx
dts-dirs
+=
xilinx
subdir-y
:=
$
(
dts-dirs
)
subdir-y
:=
$
(
dts-dirs
)
dtstree
:=
$(srctree)
/
$(src)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
foreach
d,
$
(
dts-dirs
)
,
$(
wildcard
$(dtstree)
/
$(d)
/
*
.dts
)))
always
:=
$
(
dtb-y
)
arch/h8300/boot/dts/Makefile
浏览文件 @
25fff6aa
...
@@ -8,5 +8,8 @@ dtb-$(CONFIG_H8300H_SIM) := h8300h_sim.dtb
...
@@ -8,5 +8,8 @@ dtb-$(CONFIG_H8300H_SIM) := h8300h_sim.dtb
dtb-$(CONFIG_H8S_SIM)
:=
h8s_sim.dtb
dtb-$(CONFIG_H8S_SIM)
:=
h8s_sim.dtb
dtb-$(CONFIG_H8S_EDOSK2674)
:=
edosk2674.dtb
dtb-$(CONFIG_H8S_EDOSK2674)
:=
edosk2674.dtb
dtstree
:=
$(srctree)
/
$(src)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
wildcard
$(dtstree)
/
*
.dts
))
always
:=
$
(
dtb-y
)
always
:=
$
(
dtb-y
)
clean-files
:=
*
.dtb.S
*
.dtb
clean-files
:=
*
.dtb.S
*
.dtb
arch/metag/Makefile
浏览文件 @
25fff6aa
...
@@ -72,7 +72,7 @@ $(boot_targets): vmlinux
...
@@ -72,7 +72,7 @@ $(boot_targets): vmlinux
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
dtbs
:
scripts
dtbs
:
scripts
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
dtbs
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
archclean
:
archclean
:
$(Q)$(MAKE)
$(clean)
=
$(boot)
$(Q)$(MAKE)
$(clean)
=
$(boot)
...
...
arch/metag/boot/dts/Makefile
浏览文件 @
25fff6aa
...
@@ -12,11 +12,10 @@ endif
...
@@ -12,11 +12,10 @@ endif
dtb-$(CONFIG_METAG_BUILTIN_DTB)
+=
$
(
builtindtb-y
)
.dtb
dtb-$(CONFIG_METAG_BUILTIN_DTB)
+=
$
(
builtindtb-y
)
.dtb
obj-$(CONFIG_METAG_BUILTIN_DTB)
+=
$
(
builtindtb-y
)
.dtb.o
obj-$(CONFIG_METAG_BUILTIN_DTB)
+=
$
(
builtindtb-y
)
.dtb.o
targets
+=
dtbs
dtstree
:=
$(srctree)
/
$(src)
targets
+=
$
(
dtb-y
)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
wildcard
$(dtstree)
/
*
.dts
)
)
.SECONDARY
:
$(obj)/$(builtindtb-y).dtb.S
.SECONDARY
:
$(obj)/$(builtindtb-y).dtb.S
dtbs
:
$(addprefix $(obj)/
,
$(dtb-y))
always
+=
$
(
dtb-y
)
clean-files
+=
*
.dtb
*
.dtb.S
clean-files
+=
*
.dtb
*
.dtb.S
arch/mips/boot/dts/Makefile
浏览文件 @
25fff6aa
...
@@ -9,6 +9,9 @@ dts-dirs += ralink
...
@@ -9,6 +9,9 @@ dts-dirs += ralink
obj-y
:=
$(
addsuffix
/,
$
(
dts-dirs
))
obj-y
:=
$(
addsuffix
/,
$
(
dts-dirs
))
dtstree
:=
$(srctree)
/
$(src)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
foreach
d,
$
(
dts-dirs
)
,
$(
wildcard
$(dtstree)
/
$(d)
/
*
.dts
)))
always
:=
$
(
dtb-y
)
always
:=
$
(
dtb-y
)
subdir-y
:=
$
(
dts-dirs
)
subdir-y
:=
$
(
dts-dirs
)
clean-files
:=
*
.dtb
*
.dtb.S
clean-files
:=
*
.dtb
*
.dtb.S
arch/xtensa/Makefile
浏览文件 @
25fff6aa
...
@@ -101,6 +101,10 @@ zImage: vmlinux
...
@@ -101,6 +101,10 @@ zImage: vmlinux
%.dtb
:
%.dtb
:
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
dtbs
:
scripts
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
define
archhelp
define
archhelp
@echo
'* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
@echo
'* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
@echo
' dtbs - Build device tree blobs for enabled boards'
endef
endef
arch/xtensa/boot/dts/Makefile
浏览文件 @
25fff6aa
...
@@ -12,4 +12,9 @@ ifneq ($(CONFIG_BUILTIN_DTB),"")
...
@@ -12,4 +12,9 @@ ifneq ($(CONFIG_BUILTIN_DTB),"")
obj-$(CONFIG_OF)
+=
$(BUILTIN_DTB)
obj-$(CONFIG_OF)
+=
$(BUILTIN_DTB)
endif
endif
clean-files
:=
*
.dtb.S
dtstree
:=
$(srctree)
/
$(src)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
wildcard
$(dtstree)
/
*
.dts
))
always
+=
$
(
dtb-y
)
clean-files
+=
*
.dtb
*
.dtb.S
drivers/of/Kconfig
浏览文件 @
25fff6aa
...
@@ -23,6 +23,16 @@ config OF_UNITTEST
...
@@ -23,6 +23,16 @@ config OF_UNITTEST
If unsure, say N here, but this option is safe to enable.
If unsure, say N here, but this option is safe to enable.
config OF_ALL_DTBS
bool "Build all Device Tree Blobs"
depends on COMPILE_TEST
select DTC
help
This option builds all possible Device Tree Blobs (DTBs) for the
current architecture.
If unsure, say N here, but this option is safe to enable.
config OF_FLATTREE
config OF_FLATTREE
bool
bool
select DTC
select DTC
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录