Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18e6cbf2 authored by Sasha Smundak's avatar Sasha Smundak
Browse files

Fix is-board-vendor-qcom: do not return a string consisting of whitespace.

Bug: 201477826
Test: treehugger
Change-Id: I3a830f07975d59802ed9fd4467a176a86672ba3e
parent afe0e76c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -112,8 +112,7 @@ endef

# Return empty unless the board is QCOM
define is-vendor-board-qcom
$(if $(strip $(TARGET_BOARD_PLATFORM) $(QCOM_BOARD_PLATFORMS)),\
  $(filter $(TARGET_BOARD_PLATFORM),$(QCOM_BOARD_PLATFORMS)),\
$(if $(strip $(TARGET_BOARD_PLATFORM) $(QCOM_BOARD_PLATFORMS)),$(filter $(TARGET_BOARD_PLATFORM),$(QCOM_BOARD_PLATFORMS)),\
  $(error both TARGET_BOARD_PLATFORM=$(TARGET_BOARD_PLATFORM) and QCOM_BOARD_PLATFORMS=$(QCOM_BOARD_PLATFORMS)))
endef