make: Replace RPM -> PKG

jw-pkg supports more than RPM-based package managers, but for
historic reasons, lots of its Makefile variables still have "RPM" in
their names. This is misleading. Replace "RPM" in variable names by
the more generic "PKG" where appropriate.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-03-16 13:51:11 +01:00
commit c893584e5e
10 changed files with 118 additions and 122 deletions

View file

@ -205,12 +205,12 @@ endif
ifeq ($(PKG_FORMAT),debian)
RPM ?= /bin/bash $(JWB_SCRIPT_DIR)/dpm.sh
RPM_ARCH := $(shell dpkg --print-architecture)
RPM_SUFFIX ?= deb
PKG_ARCH := $(shell dpkg --print-architecture)
PKG_SUFFIX ?= deb
else
RPM ?= /bin/rpm
RPM_ARCH ?= $(TARGET_ARCH)
RPM_SUFFIX ?= rpm
PKG_ARCH ?= $(TARGET_ARCH)
PKG_SUFFIX ?= rpm
endif
ifeq ($(PKG_FORMAT),debian)