2016-02-15 15:26:59 +03:00
|
|
|
all: armv7hf aarch64 ppc64le
|
|
|
|
|
2016-02-18 20:41:06 +03:00
|
|
|
.FORCE:
|
|
|
|
|
2016-02-15 15:26:59 +03:00
|
|
|
qemu-user-static:
|
|
|
|
./extract-deb-pkg qemu-user-static
|
|
|
|
|
2016-02-18 20:41:06 +03:00
|
|
|
binfmt_misc: .FORCE
|
|
|
|
./binfmt_misc
|
2016-02-15 15:26:59 +03:00
|
|
|
|
2016-02-18 20:41:06 +03:00
|
|
|
armv7hf: qemu-user-static binfmt_misc
|
2016-02-15 15:26:59 +03:00
|
|
|
docker build -t criu-armv7hf -f Dockerfile.armv7hf ../..
|
|
|
|
|
2016-02-18 20:41:06 +03:00
|
|
|
aarch64: qemu-user-static binfmt_misc
|
2016-02-15 15:26:59 +03:00
|
|
|
docker build -t criu-aarch64 -f Dockerfile.aarch64 ../..
|
|
|
|
|
2016-02-18 20:41:06 +03:00
|
|
|
ppc64le: qemu-user-static binfmt_misc
|
2016-02-15 15:26:59 +03:00
|
|
|
docker build -t criu-aarch64 -f Dockerfile.ppc64le ../..
|
|
|
|
|
|
|
|
clean:
|
|
|
|
echo -1 > /proc/sys/fs/binfmt_misc/ppc64le
|
|
|
|
echo -1 > /proc/sys/fs/binfmt_misc/armv7hf
|
|
|
|
echo -1 > /proc/sys/fs/binfmt_misc/aarch64
|
|
|
|
rm -rf qemu-user-static
|