]> rtime.felk.cvut.cz Git - hercules2020/jailhouse-build.git/commitdiff
Makefile: Create rootfs-overlay/bin before copying files there
authorMichal Sojka <michal.sojka@cvut.cz>
Tue, 17 Jul 2018 11:34:22 +0000 (13:34 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Tue, 17 Jul 2018 11:34:22 +0000 (13:34 +0200)
build/Makefile

index 192c86a1a2f04999ae0d5d55dfdf374c2057bd95..25e96200633d5898728f555521e7ce0440c86f22 100644 (file)
@@ -13,7 +13,7 @@ buildroot/images/rootfs.cpio.uboot: rootfs-overlay/bin/prem-test
        $(MAKE) -j1 -C buildroot ROOTFS_CPIO_COMPRESS_CMD="gzip --fast -c"
 
 rootfs-overlay/bin/prem-test: ../test/prem-test
-       cp $< $@
+       install -D $< $@
 
 rootfs-overlay/lib/firmware/jailhouse.bin: ../jailhouse/hypervisor/jailhouse.bin
 rootfs-overlay/lib/firmware/jailhouse.bin: $(wildcard ../jailhouse/configs/arm64/*.cell)