1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-15 10:58:09 +00:00
trezor-firmware/common/udev/dist/Makefile

19 lines
416 B
Makefile
Raw Normal View History

2015-04-27 17:13:07 +00:00
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:
2015-04-27 17:40:45 +00:00
cp ../51-trezor.rules trezor.rules
2015-04-27 17:13:07 +00:00
.docker-image:
$(info Preparing docker image ...)
docker build -t $(IMAGETAG) .
shell: .docker-image
docker run -i -t $(VOL_MOUNT) $(IMAGETAG) /bin/bash