You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/common/udev/dist/Makefile

19 lines
416 B

VOL_MOUNT = -v $(shell pwd):/release
IMAGETAG = trezor-udev-build-env
all: .package
.package: .docker-image trezor.rules
$(info Packaging ...)
docker run -t $(VOL_MOUNT) $(IMAGETAG) /release/release.sh
trezor.rules:
cp ../51-trezor.rules trezor.rules
.docker-image:
$(info Preparing docker image ...)
docker build -t $(IMAGETAG) .
shell: .docker-image
docker run -i -t $(VOL_MOUNT) $(IMAGETAG) /bin/bash