mirror of
https://git.proxmox.com/git/proxmox-perl-rs
synced 2025-05-24 09:37:23 +00:00
buildsys: drop PERLMOD_PRODUCT variable
it's not used anymore Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
d00aa7f091
commit
b5ca6876d3
5
Makefile
5
Makefile
@ -1,9 +1,5 @@
|
|||||||
CARGO ?= cargo
|
CARGO ?= cargo
|
||||||
|
|
||||||
define to_upper
|
|
||||||
$(shell echo "$(1)" | tr '[:lower:]' '[:upper:]')
|
|
||||||
endef
|
|
||||||
|
|
||||||
ifeq ($(BUILD_MODE), release)
|
ifeq ($(BUILD_MODE), release)
|
||||||
CARGO_BUILD_ARGS += --release
|
CARGO_BUILD_ARGS += --release
|
||||||
DEBUG_LIBPATH :=
|
DEBUG_LIBPATH :=
|
||||||
@ -42,7 +38,6 @@ endif
|
|||||||
|
|
||||||
.PHONY: pve pmg
|
.PHONY: pve pmg
|
||||||
pve pmg:
|
pve pmg:
|
||||||
@PERLMOD_PRODUCT=$(call to_upper,$@) \
|
|
||||||
$(CARGO) build $(CARGO_BUILD_ARGS) -p $@-rs
|
$(CARGO) build $(CARGO_BUILD_ARGS) -p $@-rs
|
||||||
|
|
||||||
.PHONY: gen
|
.PHONY: gen
|
||||||
|
Loading…
Reference in New Issue
Block a user