Skip to content

Commit 4969e08

Browse files
committed
vtd: Allow vendor package selection orthogonal to cloe
That is, you can unselect vendor packages by using WITHOUT_VENDOR now too: make download-vendor WITHOUT_VENDOR=vendor/vtd-2022.03
1 parent e7e8e67 commit 4969e08

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

optional/vtd/Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ smoketest-req:
99

1010
# -------------------------------------------------
1111

12-
SELECT_VENDOR := $(wildcard vendor/*)
13-
.PHONY: ${SELECT_VENDOR}
12+
ALL_VENDOR := $(wildcard vendor/*)
13+
.PHONY: ${ALL_VENDOR}
14+
15+
WITHOUT_VENDOR :=
16+
UNSELECT_VENDOR := ${WITHOUT_VENDOR}
17+
WITH_VENDOR :=
18+
SELECT_VENDOR := $(call uniq, $(filter-out ${UNSELECT_VENDOR}, ${ALL_VENDOR}) ${WITH_VENDOR})
19+
1420
vendor/osi-sensor-1.0.0-vtd2.2: vendor/vtd-2.2.0 vendor/open-simulation-interface-3.0.1
1521
vendor/open-simulation-interface-3.0.1: vendor/protobuf-2.6.1
1622
vendor/open-simulation-interface-3.2.0: vendor/protobuf-2.6.1

0 commit comments

Comments
 (0)