kconfig: Move REGEX to Kconfig

Having this as a Kconfig allows it to be a dependent feature.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
master
Joe Hershberger 10 years ago committed by Tom Rini
parent 27e7215645
commit 1a60650c73
  1. 1
      configs/acadia_defconfig
  2. 1
      configs/bamboo_defconfig
  3. 1
      configs/bubinga_defconfig
  4. 1
      configs/canyonlands_defconfig
  5. 1
      configs/dlvision-10g_defconfig
  6. 1
      configs/dlvision_defconfig
  7. 1
      configs/ebony_defconfig
  8. 1
      configs/gdppc440etx_defconfig
  9. 1
      configs/icon_defconfig
  10. 1
      configs/intip_defconfig
  11. 1
      configs/io64_defconfig
  12. 1
      configs/io_defconfig
  13. 1
      configs/iocon_defconfig
  14. 1
      configs/katmai_defconfig
  15. 1
      configs/kilauea_defconfig
  16. 1
      configs/luan_defconfig
  17. 1
      configs/m28evk_defconfig
  18. 1
      configs/m53evk_defconfig
  19. 1
      configs/makalu_defconfig
  20. 1
      configs/neo_defconfig
  21. 1
      configs/novena_defconfig
  22. 1
      configs/ocotea_defconfig
  23. 1
      configs/redwood_defconfig
  24. 1
      configs/sequoia_defconfig
  25. 1
      configs/socfpga_arria5_defconfig
  26. 1
      configs/socfpga_cyclone5_defconfig
  27. 1
      configs/t3corp_defconfig
  28. 1
      configs/taihu_defconfig
  29. 1
      configs/taishan_defconfig
  30. 1
      configs/walnut_defconfig
  31. 1
      configs/yosemite_defconfig
  32. 1
      configs/yucca_defconfig
  33. 1
      include/configs/amcc-common.h
  34. 1
      include/configs/m28evk.h
  35. 1
      include/configs/m53evk.h
  36. 1
      include/configs/novena.h
  37. 1
      include/configs/socfpga_arria5.h
  38. 1
      include/configs/socfpga_cyclone5.h
  39. 8
      lib/Kconfig

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_ACADIA=y CONFIG_TARGET_ACADIA=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_BAMBOO=y CONFIG_TARGET_BAMBOO=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_BUBINGA=y CONFIG_TARGET_BUBINGA=y
CONFIG_REGEX=y

@ -5,3 +5,4 @@ CONFIG_CANYONLANDS=y
CONFIG_DEFAULT_DEVICE_TREE="canyonlands" CONFIG_DEFAULT_DEVICE_TREE="canyonlands"
CONFIG_OF_CONTROL=y CONFIG_OF_CONTROL=y
CONFIG_OF_EMBED=y CONFIG_OF_EMBED=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_DLVISION_10G=y CONFIG_TARGET_DLVISION_10G=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_DLVISION=y CONFIG_TARGET_DLVISION=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_EBONY=y CONFIG_TARGET_EBONY=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_GDPPC440ETX=y CONFIG_TARGET_GDPPC440ETX=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_ICON=y CONFIG_TARGET_ICON=y
CONFIG_REGEX=y

@ -2,3 +2,4 @@ CONFIG_SYS_EXTRA_OPTIONS="INTIB"
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_INTIP=y CONFIG_TARGET_INTIP=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_IO64=y CONFIG_TARGET_IO64=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_IO=y CONFIG_TARGET_IO=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_IOCON=y CONFIG_TARGET_IOCON=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_KATMAI=y CONFIG_TARGET_KATMAI=y
CONFIG_REGEX=y

@ -2,3 +2,4 @@ CONFIG_SYS_EXTRA_OPTIONS="KILAUEA"
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_KILAUEA=y CONFIG_TARGET_KILAUEA=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_LUAN=y CONFIG_TARGET_LUAN=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_SPL=y CONFIG_SPL=y
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_M28EVK=y CONFIG_TARGET_M28EVK=y
CONFIG_REGEX=y

@ -2,3 +2,4 @@ CONFIG_SPL=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/denx/m53evk/imximage.cfg" CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/denx/m53evk/imximage.cfg"
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_M53EVK=y CONFIG_TARGET_M53EVK=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_MAKALU=y CONFIG_TARGET_MAKALU=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_NEO=y CONFIG_TARGET_NEO=y
CONFIG_REGEX=y

@ -2,3 +2,4 @@ CONFIG_SPL=y
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q" CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_TARGET_KOSAGI_NOVENA=y CONFIG_TARGET_KOSAGI_NOVENA=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_OCOTEA=y CONFIG_TARGET_OCOTEA=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_REDWOOD=y CONFIG_TARGET_REDWOOD=y
CONFIG_REGEX=y

@ -2,3 +2,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SEQUOIA"
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_SEQUOIA=y CONFIG_TARGET_SEQUOIA=y
CONFIG_REGEX=y

@ -4,3 +4,4 @@ CONFIG_ARCH_SOCFPGA=y
CONFIG_TARGET_SOCFPGA_ARRIA5=y CONFIG_TARGET_SOCFPGA_ARRIA5=y
CONFIG_OF_CONTROL=y CONFIG_OF_CONTROL=y
CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria5_socdk" CONFIG_DEFAULT_DEVICE_TREE="socfpga_arria5_socdk"
CONFIG_REGEX=y

@ -7,3 +7,4 @@ CONFIG_DEFAULT_DEVICE_TREE="socfpga_cyclone5_socdk"
CONFIG_ETH_DESIGNWARE=y CONFIG_ETH_DESIGNWARE=y
CONFIG_NETDEVICES=y CONFIG_NETDEVICES=y
CONFIG_NET=y CONFIG_NET=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_T3CORP=y CONFIG_TARGET_T3CORP=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_TAIHU=y CONFIG_TARGET_TAIHU=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_TAISHAN=y CONFIG_TARGET_TAISHAN=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_WALNUT=y CONFIG_TARGET_WALNUT=y
CONFIG_REGEX=y

@ -2,3 +2,4 @@ CONFIG_SYS_EXTRA_OPTIONS="YOSEMITE"
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_YOSEMITE=y CONFIG_TARGET_YOSEMITE=y
CONFIG_REGEX=y

@ -1,3 +1,4 @@
CONFIG_PPC=y CONFIG_PPC=y
CONFIG_4xx=y CONFIG_4xx=y
CONFIG_TARGET_YUCCA=y CONFIG_TARGET_YUCCA=y
CONFIG_REGEX=y

@ -106,7 +106,6 @@
#define CONFIG_LOADS_ECHO /* echo on for serial download */ #define CONFIG_LOADS_ECHO /* echo on for serial download */
#define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */ #define CONFIG_SYS_LOADS_BAUD_CHANGE /* allow baudrate change */
#define CONFIG_REGEX /* Enable regular expression support */
/* /*
* BOOTP options * BOOTP options
*/ */

@ -49,7 +49,6 @@
#define CONFIG_CMD_USB #define CONFIG_CMD_USB
#define CONFIG_VIDEO #define CONFIG_VIDEO
#define CONFIG_REGEX /* Enable regular expression support */
/* Memory configuration */ /* Memory configuration */
#define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */ #define CONFIG_NR_DRAM_BANKS 1 /* 1 bank of DRAM */

@ -51,7 +51,6 @@
#define CONFIG_CMD_USB #define CONFIG_CMD_USB
#define CONFIG_VIDEO #define CONFIG_VIDEO
#define CONFIG_REGEX /* Enable regular expression support */
/* /*
* Memory configurations * Memory configurations

@ -22,7 +22,6 @@
#define CONFIG_KEYBOARD #define CONFIG_KEYBOARD
#define CONFIG_MXC_GPIO #define CONFIG_MXC_GPIO
#define CONFIG_OF_LIBFDT #define CONFIG_OF_LIBFDT
#define CONFIG_REGEX
#define CONFIG_SYS_GENERIC_BOARD #define CONFIG_SYS_GENERIC_BOARD
#define CONFIG_SYS_NO_FLASH #define CONFIG_SYS_NO_FLASH

@ -37,7 +37,6 @@
#define CONFIG_CMD_USB #define CONFIG_CMD_USB
#define CONFIG_CMD_USB_MASS_STORAGE #define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_REGEX /* Enable regular expression support */
/* Memory configurations */ /* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */ #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */

@ -37,7 +37,6 @@
#define CONFIG_CMD_USB #define CONFIG_CMD_USB
#define CONFIG_CMD_USB_MASS_STORAGE #define CONFIG_CMD_USB_MASS_STORAGE
#define CONFIG_REGEX /* Enable regular expression support */
/* Memory configurations */ /* Memory configurations */
#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */ #define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SoCDK */

@ -36,6 +36,14 @@ config SYS_VSNPRINTF
Thumb-2, about 420 bytes). Enable this option for safety when Thumb-2, about 420 bytes). Enable this option for safety when
using sprintf() with data you do not control. using sprintf() with data you do not control.
config REGEX
bool "Enable regular expression support"
help
If this variable is defined, U-Boot is linked against the
SLRE (Super Light Regular Expression) library, which adds
regex support to some commands, for example "env grep" and
"setexpr".
source lib/rsa/Kconfig source lib/rsa/Kconfig
menu "Hashing Support" menu "Hashing Support"

Loading…
Cancel
Save