]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: makefile: fix uname munging when setting ARCH on native machine
authorWill Deacon <will.deacon@arm.com>
Fri, 18 Jan 2013 19:00:47 +0000 (19:00 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 22 Jan 2013 17:51:00 +0000 (17:51 +0000)
commit371445914aede8f5dea05f76f5435335c4fd3b9b
tree494c9ec72ffac8e0c7652694316ce6429ce0d046
parent5b08c3686ca23212706d0ac0fc9f3e11b8b34902
arm64: makefile: fix uname munging when setting ARCH on native machine

By popular demand, arch/aarch64 is now known as arch/arm64. However,
uname -m (and indeed the GNU triplet) still use aarch64 as the machine
string.

This patch fixes native builds of both the kernel and perf tools by
updating the relevant Makefiles to munge the output of uname -m and
set the ARCH variable appropriately.

Cc: <stable@vger.kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Makefile
tools/perf/Makefile