diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2020-09-11 14:32:39 +0800 |
---|---|---|
committer | Sherry Sun <sherry.sun@nxp.com> | 2020-09-22 14:48:50 +0800 |
commit | b29a0109ff7eaac910894cbe73a7fec84d1bf9db (patch) | |
tree | c7d7fd00bed520115a362a10214c7e60465546e1 /samples | |
parent | 5d1afc66428e0b9c1878cc2dc48ddb97fda69699 (diff) |
MLK-24793: samples: mpssd: change mpssd makefile to support arm64 architecture
Since imx-mic also need user space tool to boot vop, so use Intel's
mpssd tool directly. Here need change makefile to make mpssd can be
built on arm64 architecture.
For arm64 architecture, use below command to build mpssd:
make -C samples/mic/mpssd/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/mic/mpssd/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/samples/mic/mpssd/Makefile b/samples/mic/mpssd/Makefile index a7a6e0c70424..7e2ed4e0532c 100644 --- a/samples/mic/mpssd/Makefile +++ b/samples/mic/mpssd/Makefile @@ -1,9 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 -ifndef CROSS_COMPILE uname_M := $(shell uname -m 2>/dev/null || echo not) ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) -ifeq ($(ARCH),x86) +ifeq ($(ARCH),$(filter $(ARCH),x86 arm64)) PROGS := mpssd CC = $(CROSS_COMPILE)gcc @@ -25,4 +24,3 @@ clean: rm -fr $(PROGS) endif -endif |