2016-06-01 20:13:28 +00:00
|
|
|
ARCH=arm
|
|
|
|
CROSS_ROOT=/usr/bin
|
|
|
|
CROSS_TRIPLET=${ARCH}-linux-gnueabi
|
2018-01-09 23:59:38 +00:00
|
|
|
CROSS=${CROSS_ROOT}/${CROSS_TRIPLET}-
|
2016-06-01 20:13:28 +00:00
|
|
|
|
2018-01-09 23:59:38 +00:00
|
|
|
CC=${CROSS}gcc
|
|
|
|
USERCC=${CROSS}gcc
|
|
|
|
AR=${CROSS}ar
|
|
|
|
RANLIB=${CROSS}ranlib
|
|
|
|
CC_AR=${AR} -r ${LIBAR}
|
2018-01-10 00:28:55 +00:00
|
|
|
PARTIALLD=${CROSS}ld -r --whole-archive
|
2016-06-01 20:13:28 +00:00
|
|
|
|
|
|
|
ONELIB=0
|
2016-12-16 20:12:45 +00:00
|
|
|
OSTYPE=gnulinux
|
2016-06-01 20:13:28 +00:00
|
|
|
LINK=
|
|
|
|
PICFLAGS=-fPIC -fpic
|
|
|
|
CFLAGS+=${PICFLAGS}
|
|
|
|
LDFLAGS+=-ldl -pthread -lutil
|
|
|
|
CC_LIB=${CC} -shared -o
|
|
|
|
CFLAGS_INCLUDE=-I
|
|
|
|
LDFLAGS_LINK=-l
|
|
|
|
LDFLAGS_LINKPATH=-L
|
|
|
|
CFLAGS_OPT0=-O0
|
|
|
|
CFLAGS_OPT1=-O1
|
|
|
|
CFLAGS_OPT2=-O2
|
|
|
|
CFLAGS_OPT3=-O3
|
|
|
|
CFLAGS_DEBUG=-g
|