Skip to content

Commit c4c14c3

Browse files
committed
csky: remove builtin-dtb Kbuild
Remove the builtin-dtb implementation in arch/csky. Signed-off-by: Guo Ren <ren_guo@c-sky.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
1 parent ac43507 commit c4c14c3

3 files changed

Lines changed: 1 addition & 18 deletions

File tree

‎arch/csky/Kconfig.debug‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
menu "C-SKY Debug Options"
2-
config CSKY_BUILTIN_DTB
3-
string "Use kernel builtin dtb"
4-
help
5-
User could define the dtb instead of the one which is passed from
6-
bootloader.
7-
Sometimes for debug, we want to use a built-in dtb and then we needn't
8-
modify bootloader at all.
9-
endmenu
1+
# dummy file, do not delete

‎arch/csky/Makefile‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ libs-y += arch/csky/lib/ \
6565
$(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name)
6666

6767
boot := arch/csky/boot
68-
ifneq '$(CONFIG_CSKY_BUILTIN_DTB)' '""'
6968
core-y += $(boot)/dts/
70-
endif
7169

7270
all: zImage
7371

‎arch/csky/boot/dts/Makefile‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
dtstree := $(srctree)/$(src)
22

3-
ifneq '$(CONFIG_CSKY_BUILTIN_DTB)' '""'
4-
builtindtb-y := $(patsubst "%",%,$(CONFIG_CSKY_BUILTIN_DTB))
5-
dtb-y += $(builtindtb-y).dtb
6-
obj-y += $(builtindtb-y).dtb.o
7-
.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
8-
else
93
dtb-y := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
10-
endif
114

125
always += $(dtb-y)
136
clean-files += *.dtb *.dtb.S

0 commit comments

Comments
 (0)