8000 ARCH=arm 后面多大了一个空格,导致无法识别arm,多注意 · home-coder/ring-buffer@5939c37 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5939c37

Browse files
committed
ARCH=arm 后面多大了一个空格,导致无法识别arm,多注意
1 parent 69654ef commit 5939c37

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
ARCH=arm #与硬件相关,需要联调
2-
#ARCH=x86
1+
ARCH=arm
2+
#与硬件相关,需要联调
3+
ARCH=x86
34

45
ifeq ($(ARCH), arm)
5-
export ARCH=arm
6-
CC = ~/basic/cross_compile/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc
7-
CFLAGS = -O2 -Wall --static
6+
export ARCH=arm
7+
CC = ~/basic/cross_compile/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-gcc
8+
CFLAGS = -O2 -Wall --static
89
else
9-
CC = gcc
10-
CFLAGS = -DORG_TEST -O2 -Wall --static
10+
CC = gcc
11+
CFLAGS = -DORG_TEST -O2 -Wall --static
1112
endif
1213

1314
INCLUDE = -I ./include

0 commit comments

Comments
 (0)
0