]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
ti-sgx-km: rename options to have proper prefix
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 13 May 2018 19:07:35 +0000 (21:07 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 21 May 2018 21:13:35 +0000 (23:13 +0200)
The sub-options of the ti-sgx-km package had their name option
prefixed by BR2_PACKAGE_TI_SGX, while the prefix should be
BR2_PACKAGE_TI_SGX_KM. This commit fixes that, and adds the necessary
Config.in.legacy handling.

Since those options are part of a choice, the legacy handling cannot
select the new name of the options, so the legacy handling only
informs the user of the rename.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Config.in.legacy
package/ti-sgx-km/Config.in
package/ti-sgx-km/ti-sgx-km.mk

index 957099dd1c7ef6d700a28c88a65c3550942b8b39..4c00080965fbc1789e1af893034c0cccb1593283 100644 (file)
@@ -145,6 +145,38 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2018.05"
 
+config BR2_PACKAGE_TI_SGX_AM335X
+       bool "ti-sgx-km AM335X option renamed"
+       select BR2_LEGACY
+       help
+         For consistency reasons, the option
+         BR2_PACKAGE_TI_SGX_AM335X has been renamed to
+         BR2_PACKAGE_TI_SGX_KM_AM335X.
+
+config BR2_PACKAGE_TI_SGX_AM437X
+       bool "ti-sgx-km AM437X option renamed"
+       select BR2_LEGACY
+       help
+         For consistency reasons, the option
+         BR2_PACKAGE_TI_SGX_AM437X has been renamed to
+         BR2_PACKAGE_TI_SGX_KM_AM437X.
+
+config BR2_PACKAGE_TI_SGX_AM4430
+       bool "ti-sgx-km AM4430 option renamed"
+       select BR2_LEGACY
+       help
+         For consistency reasons, the option
+         BR2_PACKAGE_TI_SGX_AM4430 has been renamed to
+         BR2_PACKAGE_TI_SGX_KM_AM4430.
+
+config BR2_PACKAGE_TI_SGX_AM5430
+       bool "ti-sgx-km AM5430 option renamed"
+       select BR2_LEGACY
+       help
+         For consistency reasons, the option
+         BR2_PACKAGE_TI_SGX_AM5430 has been renamed to
+         BR2_PACKAGE_TI_SGX_KM_AM5430.
+
 config BR2_PACKAGE_JANUS_AUDIO_BRIDGE
        bool "janus-gateway audio-bridge option renamed"
        select BR2_LEGACY
index a4c9bb8ca290784a1bebec36349ce68a4e916e44..db3d3f9ddd44eb81f400e36b4a1aa19cefc9b1a1 100644 (file)
@@ -20,26 +20,26 @@ if BR2_PACKAGE_TI_SGX_KM
 
 choice
        prompt "Target"
-       default BR2_PACKAGE_TI_SGX_AM335X
+       default BR2_PACKAGE_TI_SGX_KM_AM335X
        help
          Select the SOC for which you would like to install drivers.
 
-config BR2_PACKAGE_TI_SGX_AM335X
+config BR2_PACKAGE_TI_SGX_KM_AM335X
        bool "AM335x"
        help
          AM335x CPU
 
-config BR2_PACKAGE_TI_SGX_AM437X
+config BR2_PACKAGE_TI_SGX_KM_AM437X
        bool "AM437x"
        help
          AM437x CPU
 
-config BR2_PACKAGE_TI_SGX_AM4430
+config BR2_PACKAGE_TI_SGX_KM_AM4430
        bool "AM4430"
        help
          AM4430 CPU
 
-config BR2_PACKAGE_TI_SGX_AM5430
+config BR2_PACKAGE_TI_SGX_KM_AM5430
        bool "AM5430"
        help
          AM5430 CPU
index db74da9b4ad60343da82633ffe97d2e876c8ea78..0e1bc33902e511f2adb1cb79a367e983a5c64dc2 100644 (file)
@@ -17,13 +17,13 @@ TI_SGX_KM_MAKE_OPTS = \
        KERNELDIR=$(LINUX_DIR) \
        PVR_NULLDRM=1
 
-ifeq ($(BR2_PACKAGE_TI_SGX_AM335X),y)
+ifeq ($(BR2_PACKAGE_TI_SGX_KM_AM335X),y)
 TI_SGX_KM_PLATFORM_NAME = omap335x
-else ifeq ($(BR2_PACKAGE_TI_SGX_AM437X),y)
+else ifeq ($(BR2_PACKAGE_TI_SGX_KM_AM437X),y)
 TI_SGX_KM_PLATFORM_NAME = omap437x
-else ifeq ($(BR2_PACKAGE_TI_SGX_AM4430),y)
+else ifeq ($(BR2_PACKAGE_TI_SGX_KM_AM4430),y)
 TI_SGX_KM_PLATFORM_NAME = omap4430
-else ifeq ($(BR2_PACKAGE_TI_SGX_5430),y)
+else ifeq ($(BR2_PACKAGE_TI_SGX_KM_5430),y)
 TI_SGX_KM_PLATFORM_NAME = omap5430
 endif