]> rtime.felk.cvut.cz Git - hercules2020/jailhouse-build.git/commitdiff
Makefile: Fix jailhouse-remote-deploy and add memguard-test to deploy target
authorMichal Sojka <michal.sojka@cvut.cz>
Fri, 26 Oct 2018 05:14:24 +0000 (07:14 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Fri, 26 Oct 2018 05:14:24 +0000 (07:14 +0200)
build/Makefile

index 169d90ffc912e390cc1345e54a32a85364ccaeed..0151c0777cc5b3720e91dec98fc3726fafe005fb 100644 (file)
@@ -38,7 +38,7 @@ jailhouse-install: FORCE
 #      Hostname 192.168.1.54
 INSTALL_HOST ?= root@tx2
 
-jailhouse-install-remote: JAILHOUSE_DESTDIR=jailhouse-install
+jailhouse-install-remote: DESTDIR=jailhouse-install
 jailhouse-install-remote: jailhouse-install
        rsync -rlptD jailhouse-install/ $(INSTALL_HOST):/
        rsync -rlptD rootfs-overlay/lib/modules/ $(INSTALL_HOST):/lib/modules
@@ -66,15 +66,15 @@ modules_install: kernel-4.4/vmlinux
 
 .PHONY: FORCE
 
-../test/prem-test: FORCE
+../test/prem-test ../test/memguard-test: FORCE
        $(MAKE) -C ../test
 
 clean:
        rm -rf buildroot/images/rootfs.cpio.uboot kernel-4.4/vmlinux buildroot/target `find buildroot/ -name .stamp_target_installed` jailhouse-install
 
-deploy: ../test/prem-test
+deploy: ../test/prem-test ../test/memguard-test
 #deploy: ../jailhouse/hypervisor/jailhouse.bin
-       scp ../test/prem-test tx2:/bin
+       scp ../test/prem-test ../test/memguard-test tx2:/bin
 #      scp ../jailhouse/hypervisor/jailhouse.bin tx2:/lib/firmware
        ssh tx2 'sh /etc/init.d/S20jailhouse.sh stop && sh /etc/init.d/S20jailhouse.sh start'