8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69654ef commit 5939c37Copy full SHA for 5939c37
Makefile
@@ -1,13 +1,14 @@
1
-ARCH=arm #与硬件相关,需要联调
2
-#ARCH=x86
+ARCH=arm
+#与硬件相关,需要联调
3
+ARCH=x86
4
5
ifeq ($(ARCH), arm)
-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
+ export ARCH=arm
+ 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
9
else
-CC = gcc
10
-CFLAGS = -DORG_TEST -O2 -Wall --static
+ CC = gcc
11
+ CFLAGS = -DORG_TEST -O2 -Wall --static
12
endif
13
14
INCLUDE = -I ./include
0 commit comments