for s3c2440:
1. export ac_cv_func_malloc_0_nonnull=yes
2. ./configure –build=i686-linux –host=arm-none-linux-gnueabi –target=arm-none-linux-gnueabi
3. 修改src/Makefile: CXXFLAGS,CPPFLAGS,CFLAGS后的 “=” 换成 “+=”
4. make CXXFLAGS=-march=armv4t CPPFLAGS=-march=armv4t CFLAGS=-march=armvt
for dm3730:
just
1. export ac_cv_func_malloc_0_nonnull=yes
2. ./configure –build=i686-linux –host=arm-none-linux-gnueabi –target=arm-none-linux-gnueabi