diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-02-21 23:56:24 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-03-09 22:34:00 +0100 |
commit | c39dd149601d0401496f3264bda9c91d274cd4a0 (patch) | |
tree | 60d90447228db2b2a785a3224359bf7c1670f678 /hw/lm32 | |
parent | 6d8980a38fa7a7ebcdf20120a67feb7b35488a53 (diff) | |
download | qemu-c39dd149601d0401496f3264bda9c91d274cd4a0.zip qemu-c39dd149601d0401496f3264bda9c91d274cd4a0.tar.gz qemu-c39dd149601d0401496f3264bda9c91d274cd4a0.tar.bz2 |
hw/lm32/Kconfig: Introduce CONFIG_LM32_EVR for lm32-evr/uclinux boards
We want to be able to use the 'LM32' config for architecture
specific features. Introduce CONFIG_LM32_EVR to select the
lm32-evr / lm32-uclinux boards.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210221225626.2589247-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/lm32')
-rw-r--r-- | hw/lm32/Kconfig | 6 | ||||
-rw-r--r-- | hw/lm32/meson.build | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/hw/lm32/Kconfig b/hw/lm32/Kconfig index ed2e306..20c36ed 100644 --- a/hw/lm32/Kconfig +++ b/hw/lm32/Kconfig @@ -1,7 +1,6 @@ config LM32 bool select PTIMER - select PFLASH_CFI02 config MILKYMIST bool @@ -12,3 +11,8 @@ config MILKYMIST select FRAMEBUFFER select SD select USB_OHCI + +config LM32_EVR + bool + select LM32 + select PFLASH_CFI02 diff --git a/hw/lm32/meson.build b/hw/lm32/meson.build index 8caf0a7..42d6f8d 100644 --- a/hw/lm32/meson.build +++ b/hw/lm32/meson.build @@ -1,6 +1,6 @@ lm32_ss = ss.source_set() # LM32 boards -lm32_ss.add(when: 'CONFIG_LM32', if_true: files('lm32_boards.c')) +lm32_ss.add(when: 'CONFIG_LM32_EVR', if_true: files('lm32_boards.c')) lm32_ss.add(when: 'CONFIG_MILKYMIST', if_true: files('milkymist.c')) hw_arch += {'lm32': lm32_ss} |