Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
25fff6aa
Commit
25fff6aa
authored
Oct 27, 2015
by
Rob Herring
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'all-dtbs-v2' into for-next
parents
3f5ceec9
99085704
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
44 additions
and
9 deletions
+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
No files found.
arch/arc/Makefile
View file @
25fff6aa
...
...
@@ -121,7 +121,7 @@ $(boot_targets): vmlinux
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
dtbs
:
scripts
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
dtbs
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
archclean
:
$(Q)$(MAKE)
$(clean)
=
$(boot)
...
...
arch/arc/boot/dts/Makefile
View file @
25fff6aa
...
...
@@ -6,10 +6,12 @@ ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
endif
obj-y
+=
$
(
builtindtb-y
)
.dtb.o
targets
+
=
$
(
builtindtb-y
)
.dtb
dtb-y
:
=
$
(
builtindtb-y
)
.dtb
.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
arch/arm/boot/dts/Makefile
View file @
25fff6aa
...
...
@@ -740,5 +740,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
dtb-$(CONFIG_ARCH_ZX)
+=
zx296702-ad1.dtb
endif
dtstree
:=
$(srctree)
/
$(src)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
wildcard
$(dtstree)
/
*
.dts
))
always
:=
$
(
dtb-y
)
clean-files
:=
*
.dtb
arch/arm64/boot/dts/Makefile
View file @
25fff6aa
...
...
@@ -14,3 +14,9 @@ dts-dirs += sprd
dts-dirs
+=
xilinx
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
View file @
25fff6aa
...
...
@@ -8,5 +8,8 @@ dtb-$(CONFIG_H8300H_SIM) := h8300h_sim.dtb
dtb-$(CONFIG_H8S_SIM)
:=
h8s_sim.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
)
clean-files
:=
*
.dtb.S
*
.dtb
arch/metag/Makefile
View file @
25fff6aa
...
...
@@ -72,7 +72,7 @@ $(boot_targets): vmlinux
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
dtbs
:
scripts
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
dtbs
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
archclean
:
$(Q)$(MAKE)
$(clean)
=
$(boot)
...
...
arch/metag/boot/dts/Makefile
View file @
25fff6aa
...
...
@@ -12,11 +12,10 @@ endif
dtb-$(CONFIG_METAG_BUILTIN_DTB)
+=
$
(
builtindtb-y
)
.dtb
obj-$(CONFIG_METAG_BUILTIN_DTB)
+=
$
(
builtindtb-y
)
.dtb.o
targets
+=
dtbs
targets
+=
$
(
dtb-y
)
dtstree
:=
$(srctree)
/
$(src)
dtb-$(CONFIG_OF_ALL_DTBS)
:=
$(
patsubst
$(dtstree)
/%.dts,%.dtb,
$(
wildcard
$(dtstree)
/
*
.dts
)
)
.SECONDARY
:
$(obj)/$(builtindtb-y).dtb.S
dtbs
:
$(addprefix $(obj)/
,
$(dtb-y))
always
+=
$
(
dtb-y
)
clean-files
+=
*
.dtb
*
.dtb.S
arch/mips/boot/dts/Makefile
View file @
25fff6aa
...
...
@@ -9,6 +9,9 @@ dts-dirs += ralink
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
)
subdir-y
:=
$
(
dts-dirs
)
clean-files
:=
*
.dtb
*
.dtb.S
arch/xtensa/Makefile
View file @
25fff6aa
...
...
@@ -101,6 +101,10 @@ zImage: vmlinux
%.dtb
:
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
$(boot)
/dts/
$@
dtbs
:
scripts
$(Q)$(MAKE)
$(build)
=
$(boot)
/dts
define
archhelp
@echo
'* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
@echo
' dtbs - Build device tree blobs for enabled boards'
endef
arch/xtensa/boot/dts/Makefile
View file @
25fff6aa
...
...
@@ -12,4 +12,9 @@ ifneq ($(CONFIG_BUILTIN_DTB),"")
obj-$(CONFIG_OF)
+=
$(BUILTIN_DTB)
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
View file @
25fff6aa
...
...
@@ -23,6 +23,16 @@ config OF_UNITTEST
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
bool
select DTC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment