package/fwts: use ifeq instead of ifdef
The conditional code using ifdef was added in 2018 and works as
expected.
But there is no reason to use ifdef instead of ifeq.
For consistence, switch to use ifeq like almost all packages already do.
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit e6ae825319
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
4f63e64d9c
commit
0a54bc3316
@ -15,7 +15,7 @@ FWTS_DEPENDENCIES = host-bison host-flex host-pkgconf libglib2 libbsd \
|
||||
$(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \
|
||||
$(if $(BR2_PACKAGE_DTC),dtc)
|
||||
|
||||
ifdef BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE
|
||||
ifeq ($(BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE),y)
|
||||
FWTS_MODULE_SUBDIRS = efi_runtime
|
||||
$(eval $(kernel-module))
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user