Commit Diff


commit - d67350d648477d220c548b4185e5014464d29162
commit + 292ece6080f3f3cfef48c47abff64dbd9034d4fd
blob - b245057f1e7392bdab164569fe3ae073316b2922
blob + f733b79eff3febfb9f06ab7ad523d5fe73ee2133
--- Makefile
+++ Makefile
@@ -28,10 +28,10 @@ od: examples/$T.elf
 
 run: linurv ${PROGS}
 	mkdir -p rootfs/bin
-	cp -f linurv rootfs/bin
-	cp -f ${PROGS} rootfs/bin
+	cp -f linurv rootfs/bin/
+	for f in ${PROGS:.elf=}; do cp -f $$f.elf rootfs/bin/$$(basename "$$f"); done
 	cp -f test.txt rootfs/
-	${CHROOT} rootfs /bin/linurv -v /bin/$T.elf
+	${CHROOT} rootfs /bin/linurv -v /bin/$T
 
 distclean: clean
 	(cd tools; ${MAKE} distclean)