-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'csky-for-linus-4.20-fixup-dtb' of https://github.com/c-sky…
…/csky-linux Pull csky dtb fixups from Guo Ren: "These fix the csky dtb Kbuild to follow the new Devicetree dtb build rules" * tag 'csky-for-linus-4.20-fixup-dtb' of https://github.com/c-sky/csky-linux: csky: use common dtb build rules csky: remove builtin-dtb Kbuild
- Loading branch information
Showing
3 changed files
with
2 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1 @@ | ||
menu "C-SKY Debug Options" | ||
config CSKY_BUILTIN_DTB | ||
string "Use kernel builtin dtb" | ||
help | ||
User could define the dtb instead of the one which is passed from | ||
bootloader. | ||
Sometimes for debug, we want to use a built-in dtb and then we needn't | ||
modify bootloader at all. | ||
endmenu | ||
# dummy file, do not delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
dtstree := $(srctree)/$(src) | ||
|
||
ifneq '$(CONFIG_CSKY_BUILTIN_DTB)' '""' | ||
builtindtb-y := $(patsubst "%",%,$(CONFIG_CSKY_BUILTIN_DTB)) | ||
dtb-y += $(builtindtb-y).dtb | ||
obj-y += $(builtindtb-y).dtb.o | ||
.SECONDARY: $(obj)/$(builtindtb-y).dtb.S | ||
else | ||
dtb-y := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) | ||
endif | ||
|
||
always += $(dtb-y) | ||
clean-files += *.dtb *.dtb.S |