You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
617 B
Makefile

LIBERO_LICENSER_IMAGE = libero_licenser
MICROCHIP_TOOLS_POD = microchip_tools_pod
MICROCHIP_TOOLS_NETWORK = microchip_tools_network
LIBERO_LICENSER_CONTAINER ::= localhost/$(LIBERO_LICENSER_IMAGE):latest
build:
podman build . -t libero_licenser --volume="${PWD}/../installers:/opt/microchip/installers"
start:
podman run -it --rm -h libero-licenser --name libero_licenser --network ${MICROCHIP_TOOLS_NETWORK} \
--volume="/etc/localtime:/etc/localtime" --volume="${PWD}/../licenses:/opt/microchip/licenses" \
--mac-address ${LIBERO_LICENSE_MAC} \
${LIBERO_LICENSER_CONTAINER} /opt/microchip/scripts/entrypoint