flashrom: strip leading whitespace from PROGRAMMER_ARGS
Newer version of meson do not allow empty arguments. Signed-off-by: Federico Capoano <f.capoano@openwisp.io>
This commit is contained in:
parent
5181ce4a48
commit
9f54d98747
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=flashrom
|
||||
PKG_VERSION:=1.3.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=https://download.flashrom.org/releases
|
||||
|
|
|
@ -96,9 +96,8 @@ else
|
|||
$(eval $(call Programmer,satamv,$(FLASHROM_PCI)))
|
||||
endif
|
||||
|
||||
comma := ,
|
||||
MESON_ARGS += \
|
||||
-Ddefault_programmer_name=$(DEFAULT_PROGRAMMER_NAME) \
|
||||
-Dprogrammer=$(subst $() $(),$(comma),$(PROGRAMMER_ARGS)) \
|
||||
-Dprogrammer=$(subst $(space),$(comma),$(strip $(PROGRAMMER_ARGS))) \
|
||||
-Dwerror=false \
|
||||
-Dtests=disabled
|
||||
|
|
Loading…
Reference in New Issue