Loading arch/csky/Kconfig.debug +1 −9 Original line number Diff line number Diff line 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 arch/csky/Makefile +0 −2 Original line number Diff line number Diff line Loading @@ -65,9 +65,7 @@ libs-y += arch/csky/lib/ \ $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name) boot := arch/csky/boot ifneq '$(CONFIG_CSKY_BUILTIN_DTB)' '""' core-y += $(boot)/dts/ endif all: zImage Loading arch/csky/boot/dts/Makefile +0 −7 Original line number Diff line number Diff line 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 Loading
arch/csky/Kconfig.debug +1 −9 Original line number Diff line number Diff line 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
arch/csky/Makefile +0 −2 Original line number Diff line number Diff line Loading @@ -65,9 +65,7 @@ libs-y += arch/csky/lib/ \ $(shell $(CC) $(KBUILD_CFLAGS) $(KCFLAGS) -print-libgcc-file-name) boot := arch/csky/boot ifneq '$(CONFIG_CSKY_BUILTIN_DTB)' '""' core-y += $(boot)/dts/ endif all: zImage Loading
arch/csky/boot/dts/Makefile +0 −7 Original line number Diff line number Diff line 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