mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
CONFIG_DEFAULT_PROGRAMMER_NAME: Use programmer name instead of enum
CONFIG_DEFAULT_PROGRAMER_NAME replaces CONFIG_DEFAULT_PROGRAMMER. It uses the name of the programmer for identification. make CONFIG_DEFAULT_PROGRAMER_NAME=dummy and meson -Ddefault_programmer_name=dummy will extend to CONFIG_DEFAULT_PROGRAMER_NAME=&programmer_dummy in the code. Change-Id: I976447787c6f6bfbdc0145d80d61e1ddcf97ac33 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55123 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
bf0396a600
commit
732aafdfec
@ -50,8 +50,6 @@ flashrom_tests = executable('flashrom_unit_tests',
|
||||
'-ffunction-sections',
|
||||
'-fdata-sections',
|
||||
# '-DSTANDALONE',
|
||||
'-DCONFIG_DEFAULT_PROGRAMMER=PROGRAMMER_DUMMY',
|
||||
'-DCONFIG_DEFAULT_PROGRAMMER_ARGS=""',
|
||||
],
|
||||
export_dynamic : true,
|
||||
link_args : mocks,
|
||||
|
Reference in New Issue
Block a user