Browse Source

linux: rename config option

Commit a4eef9a3959 (linux: introduce BR2_KERNEL_DTB_KEEP_DIRNAME)
introduced a new config option, but its name was not matching the
naming-scheme of the other config options.

Rename it.

We don't need legacy handling, because that config option was added very
recently and was never part of a release.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Yann E. MORIN 5 years ago
parent
commit
d8e3e93969
2 changed files with 2 additions and 2 deletions
  1. 1 1
      linux/Config.in
  2. 1 1
      linux/linux.mk

+ 1 - 1
linux/Config.in

@@ -407,7 +407,7 @@ config BR2_LINUX_KERNEL_CUSTOM_DTS_PATH
 	  You can provide a list of dts paths to copy and
 	  You can provide a list of dts paths to copy and
 	  build, separated by spaces.
 	  build, separated by spaces.
 
 
-config BR2_KERNEL_DTB_KEEP_DIRNAME
+config BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME
 	bool "Keep the directory name of the Device Tree"
 	bool "Keep the directory name of the Device Tree"
 	help
 	help
 	  If enabled, the device tree blobs keep their
 	  If enabled, the device tree blobs keep their

+ 1 - 1
linux/linux.mk

@@ -381,7 +381,7 @@ define LINUX_INSTALL_DTB
 	$(foreach dtb,$(LINUX_DTBS), \
 	$(foreach dtb,$(LINUX_DTBS), \
 		install -D \
 		install -D \
 			$(or $(wildcard $(LINUX_ARCH_PATH)/boot/dts/$(dtb)),$(LINUX_ARCH_PATH)/boot/$(dtb)) \
 			$(or $(wildcard $(LINUX_ARCH_PATH)/boot/dts/$(dtb)),$(LINUX_ARCH_PATH)/boot/$(dtb)) \
-			$(1)/$(if $(BR2_KERNEL_DTB_KEEP_DIRNAME),$(dtb),$(notdir $(dtb)))
+			$(1)/$(if $(BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME),$(dtb),$(notdir $(dtb)))
 	)
 	)
 endef
 endef
 endif # BR2_LINUX_KERNEL_APPENDED_DTB
 endif # BR2_LINUX_KERNEL_APPENDED_DTB