Makefile.target: copy openGLES libraries only if they're old
authorIgor Mitsyanko <i.mitsyanko@samsung.com>
Wed, 25 Jul 2012 11:43:56 +0000 (15:43 +0400)
committerEvgeny Voevodin <e.voevodin@samsung.com>
Fri, 27 Jul 2012 06:31:28 +0000 (10:31 +0400)
We want to replace GLES and EGL libraries used by qemu executable with
libraries pointed by QEMU configure script only if libraries were updated,
this should prevent unnesassary copy operation.

Signed-off-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
Makefile.target

index d462dcf..dabc0aa 100755 (executable)
@@ -437,7 +437,7 @@ $(GLESLIBS_LINK_LIST):
 GLESLIBS_RUNTIME_LIST:=$(addprefix ./,$(notdir $(GLESLIBS_LINK_LIST)))
 
 $(GLESLIBS_RUNTIME_LIST): $(GLESLIBS_LINK_LIST)
-       @cp -dp -t ./ $(GLESLIBS_LINK_LIST)
+       @cp -dpu -t ./ $(GLESLIBS_LINK_LIST)
 
 $(QEMU_PROG): $(GLESLIBS_RUNTIME_LIST)