diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-09-05 14:25:06 +0800 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-10-25 23:36:19 +0800 |
commit | c32e64e852f3f5c0fd709f84bc94736840088375 (patch) | |
tree | 420e0ad361bb187377d7e038b3058391a169466c /arch/csky/boot/dts/Makefile | |
parent | 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d (diff) | |
download | linux-c32e64e852f3f5c0fd709f84bc94736840088375.tar.bz2 |
csky: Build infrastructure
This patch adds Makefile, Kconfig for build infrastructure.
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/boot/dts/Makefile')
-rw-r--r-- | arch/csky/boot/dts/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/csky/boot/dts/Makefile b/arch/csky/boot/dts/Makefile new file mode 100644 index 000000000000..305e81a5e91e --- /dev/null +++ b/arch/csky/boot/dts/Makefile @@ -0,0 +1,13 @@ +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 |