[CRIU] [PATCH] make: Simplify ARCH retrieval

Cyrill Gorcunov gorcunov at openvz.org
Wed Jan 23 09:50:18 EST 2013


Actually the former code was being expanding
uname_M variable which is not set that early
(this was not a problem since we assign it a
line below, still it was a dead code which
should be fixed).

p.s. With this patch the line

 | ifeq ($(findstring arm,$(ARCH)),arm)

seems to be unneeded and plain

 | ifeq ($(ARCH),arm)

should work just fine here but I simply
have no ARM environment installed at moment
so I leave it as is for a while.

Reported-by: Andrey Vagin <avagin at openvz.org>
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile | 28 +++++++++++++++++-----------
 1 file changed, 17 insertions(+), 11 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-make-Simplify-ARCH-retrieval.patch
Type: text/x-patch
Size: 1254 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130123/2f0a04af/attachment.bin>


More information about the CRIU mailing list