@@ -107,6 +107,21 @@ endif
###############################################################################
comment "Legacy options removed in 2015.05"
+config BR2_TARGET_UBOOT_PATCH
+ default BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR if BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR != ""
+
+config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
+ string "uboot: the custom patch dir option has been renamed"
+ help
+ The option BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR has been renamed to
+ BR2_TARGET_UBOOT_PATCH. Check that your configuration has been updated
+ correctly and delete this string.
+
+config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR_WRAP
+ bool
+ default y if BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR != ""
+ select BR2_LEGACY
+
config BR2_LINUX_KERNEL_EXT_RTAI_PATCH
bool "RTAI patch file path has been removed"
help
@@ -70,18 +70,6 @@ config BR2_TARGET_UBOOT_VERSION
default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \
if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG
-config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
- string "custom patch dir"
- depends on BR2_DEPRECATED_SINCE_2015_05
- help
- If your board requires custom patches, add the path to the
- directory containing the patches here. The patches must be
- named uboot-<something>.patch.
-
- Most users may leave this empty
-
- NOTE: Use BR2_TARGET_UBOOT_PATCH instead.
-
config BR2_TARGET_UBOOT_PATCH
string "Custom U-Boot patches"
help
This changes BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR from deprecated to legacy. The added legacy handling will automatically copy the BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR setting to BR2_TARGET_UBOOT_PATCH, which should make upgrading configurations easier. Thanks to Arnout for suggesting the switch to legacy. Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com> --- Config.in.legacy | 15 +++++++++++++++ boot/uboot/Config.in | 12 ------------ 2 files changed, 15 insertions(+), 12 deletions(-)