Makefile.in: Build dav1d gst plugin

CW-Bug-Id: #19516
This commit is contained in:
Andrew Eikum 2022-01-10 09:29:36 -06:00 committed by Arkadiusz Hiler
parent 293d4c2d8e
commit a18ffa9b8b
3 changed files with 36 additions and 2 deletions

View file

@ -14,7 +14,13 @@ $$(OBJ)/.$(1)-configure$(3):
$$(OBJ)/.$(1)-build$(3):
@echo ":: building $(3)bit $(1)..." >&2
cd $$($(2)_SRC) && env $$($(2)_ENV$(3)) \
cargo build $$(filter -j%,$$(MAKEFLAGS)) --target "$$(CARGO_TARGET_$(3))" --target-dir $$($(2)_OBJ$(3)) $$(CARGO_BUILD_ARG)
cargo build \
$$(filter -j%,$$(MAKEFLAGS)) \
--target "$$(CARGO_TARGET_$(3))" \
--target-dir $$($(2)_OBJ$(3)) \
$$(CARGO_BUILD_ARG) \
$$($(2)_CARGO_ARGS) \
$$($(2)_CARGO_ARGS$(3))
touch $$@
endif
endef