diff options
author | Andrey Konovalov <andrey.konovalov@linaro.org> | 2015-12-01 18:19:58 +0300 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2015-12-01 18:19:58 +0300 |
commit | a073b1af1666385ffa96b1deb42e6451d616194b (patch) | |
tree | ed247006e9f7d495f25aed67b94e1642bc3b2839 | |
parent | 89db30b7a38721b7ccf2c80b5f032c68754a148a (diff) |
Revert "ARM64: add option to build Image.gz/dtb combo"tracking-linaro-android-llct-fixes-llct-20151201.1
This reverts commit 5a2d37148e36db3eabc6c1a3b75a578f456a7e4e : it
is breaking the build since the dts files were moved one level down
into their respective vendor dirs.
-rw-r--r-- | arch/arm64/Kconfig | 15 | ||||
-rw-r--r-- | arch/arm64/Makefile | 8 | ||||
-rw-r--r-- | arch/arm64/boot/.gitignore | 1 | ||||
-rw-r--r-- | arch/arm64/boot/Makefile | 13 | ||||
-rw-r--r-- | arch/arm64/boot/dts/Makefile | 14 |
5 files changed, 0 insertions, 51 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 0c6947251cf5..19e339d26d4f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -756,21 +756,6 @@ config DMI However, even with this option, the resultant kernel should continue to boot on existing non-UEFI platforms. -config BUILD_ARM64_APPENDED_DTB_IMAGE - bool "Build a concatenated Image.gz/dtb by default" - depends on OF - help - Enabling this option will cause a concatenated Image.gz and list of - DTBs to be built by default (instead of a standalone Image.gz.) - The image will built in arch/arm64/boot/Image.gz-dtb - -config BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES - string "Default dtb names" - depends on BUILD_ARM64_APPENDED_DTB_IMAGE - help - Space separated list of names of dtbs to append when - building a concatenated Image.gz-dtb. - endmenu menu "Userspace binary formats" diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index a5c84594f6ad..0527827f3d14 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -74,12 +74,7 @@ libs-y := arch/arm64/lib/ $(libs-y) core-$(CONFIG_EFI_STUB) += $(objtree)/drivers/firmware/efi/libstub/lib.a # Default target when executing plain make -ifeq ($(CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE),y) -KBUILD_IMAGE := Image.gz-dtb -else KBUILD_IMAGE := Image.gz -endif - KBUILD_DTBS := dtbs all: $(KBUILD_IMAGE) $(KBUILD_DTBS) @@ -106,9 +101,6 @@ dtbs: prepare scripts dtbs_install: $(Q)$(MAKE) $(dtbinst)=$(boot)/dts -Image.gz-dtb: vmlinux scripts dtbs - $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ - PHONY += vdso_install vdso_install: $(Q)$(MAKE) $(build)=arch/arm64/kernel/vdso $@ diff --git a/arch/arm64/boot/.gitignore b/arch/arm64/boot/.gitignore index eb3551131b1e..8dab0bb6ae66 100644 --- a/arch/arm64/boot/.gitignore +++ b/arch/arm64/boot/.gitignore @@ -1,3 +1,2 @@ Image Image.gz -Image.gz-dtb diff --git a/arch/arm64/boot/Makefile b/arch/arm64/boot/Makefile index ddd405f88344..abcbba2f01ba 100644 --- a/arch/arm64/boot/Makefile +++ b/arch/arm64/boot/Makefile @@ -14,18 +14,8 @@ # Based on the ia64 boot/Makefile. # -include $(srctree)/arch/arm64/boot/dts/Makefile - targets := Image Image.gz -DTB_NAMES := $(subst $\",,$(CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES)) -ifneq ($(DTB_NAMES),) -DTB_LIST := $(addsuffix .dtb,$(DTB_NAMES)) -else -DTB_LIST := $(dtb-y) -endif -DTB_OBJS := $(addprefix $(obj)/dts/,$(DTB_LIST)) - $(obj)/Image: vmlinux FORCE $(call if_changed,objcopy) @@ -44,9 +34,6 @@ $(obj)/Image.lzma: $(obj)/Image FORCE $(obj)/Image.lzo: $(obj)/Image FORCE $(call if_changed,lzo) -$(obj)/Image.gz-dtb: $(obj)/Image.gz $(DTB_OBJS) FORCE - $(call if_changed,cat) - install: $(obj)/Image $(CONFIG_SHELL) $(srctree)/$(src)/install.sh $(KERNELRELEASE) \ $(obj)/Image System.map "$(INSTALL_PATH)" diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile index 062edb210993..eb3c42d97175 100644 --- a/arch/arm64/boot/dts/Makefile +++ b/arch/arm64/boot/dts/Makefile @@ -21,17 +21,3 @@ dtstree := $(srctree)/$(src) dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(foreach d,$(dts-dirs), $(wildcard $(dtstree)/$(d)/*.dts))) always := $(dtb-y) - -targets += dtbs - -DTB_NAMES := $(subst $\",,$(CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES)) -ifneq ($(DTB_NAMES),) -DTB_LIST := $(addsuffix .dtb,$(DTB_NAMES)) -else -DTB_LIST := $(dtb-y) -endif -targets += $(DTB_LIST) - -dtbs: $(addprefix $(obj)/, $(DTB_LIST)) - -clean-files := dts/*.dtb *.dtb |