make: Simplify ARCH retrieval
make: Simplify ARCH retrieval

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).

Also update

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

to simple

 | ifeq ($(ARCH),arm)

Reported-by: Andrey Vagin <74c05afa918858348d6db8037d82fa8124870113@openvz.org>
Signed-off-by: Cyrill Gorcunov <7a1ea01eee6961eb1e372e3508c2670446d086f4@openvz.org>
Acked-by: Alexander Kartashov <5dbba7f06b96156c7ec38c5bd8a847828ec59a50@parallels.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@parallels.com>

fbocharov/criu,LK4D4/criu,fbocharov/criu,gonkulator/criu,sdgdsffdsfff/criu,efiop/criu,tych0/criu,kawamuray/criu,tych0/criu,marcosnils/criu,marcosnils/criu,tych0/criu,tych0/criu,wtf42/criu,efiop/criu,biddyweb/criu,eabatalov/criu,svloyso/criu,gablg1/criu,eabatalov/criu,gonkulator/criu,efiop/criu,biddyweb/criu,wtf42/criu,ldu4/criu,gablg1/criu,sdgdsffdsfff/criu,marcosnils/criu,wtf42/criu,efiop/criu,sdgdsffdsfff/criu,fbocharov/criu,svloyso/criu,eabatalov/criu,AuthenticEshkinKot/criu,sdgdsffdsfff/criu,gonkulator/criu,gonkulator/criu,AuthenticEshkinKot/criu,sdgdsffdsfff/criu,ldu4/criu,kawamuray/criu,LK4D4/criu,sdgdsffdsfff/criu,marcosnils/criu,gonkulator/criu,kawamuray/criu,biddyweb/criu,AuthenticEshkinKot/criu,KKoukiou/criu-remote,gablg1/criu,rentzsch/criu,svloyso/criu,tych0/criu,marcosnils/criu,KKoukiou/criu-remote,biddyweb/criu,LK4D4/criu,gablg1/criu,rentzsch/criu,fbocharov/criu,tych0/criu,KKoukiou/criu-remote,efiop/criu,rentzsch/criu,wtf42/criu,AuthenticEshkinKot/criu,kawamuray/criu,ldu4/criu,biddyweb/criu,eabatalov/criu,kawamuray/criu,KKoukiou/criu-remote,eabatalov/criu,fbocharov/criu,svloyso/criu,svloyso/criu,marcosnils/criu,AuthenticEshkinKot/criu,fbocharov/criu,LK4D4/criu,KKoukiou/criu-remote,wtf42/criu,kawamuray/criu,rentzsch/criu,ldu4/criu,eabatalov/criu,gonkulator/criu,rentzsch/criu,LK4D4/criu,AuthenticEshkinKot/criu,gablg1/criu,wtf42/criu,efiop/criu,rentzsch/criu,svloyso/criu,LK4D4/criu,ldu4/criu,gablg1/criu,ldu4/criu,KKoukiou/criu-remote,biddyweb/criu