编译RT5572 RT3572
来源:互联网 发布:sql server 无法连接 编辑:程序博客网 时间:2024/06/07 05:12
问题一:
scripts/Makefile.build:49: *** CFLAGS was changed in "/opt/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
解决方式:make KBUILD_NOPEDANTIC=1
There are two kind of method to solve this problem:
(1)Rplace all CFLAGS with EXTRA_CFLAGS in the Makefile.
(2)Using the KBUILD_NOPEDANTIC arg
问题二:
/opt/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/../../common/crypt_md5.c:28:23: error: rt_config.h: No such file or directory
解决方法:修改os/linux/config.mk
ifeq ($(PLATFORM),MVL5)
CFLAGS := -D__KERNEL__ -I$(LINUX_SRC)/include -I$(RT28xx_DIR)/include -mlittle-endian -Wall -Wundef -Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O3 -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-omit-fr
ame-pointer -mapcs -mno-sched-prolog -mno-thumb-interwork -D__LINUX_ARM_ARCH__=5 -march=armv5te -mtune=arm926ej-s --param
max-inline-insns-single=40000 -Uarm -Wdeclaration-after-statement -Wno-pointer-sign -DMODULE $(WFLAGS)
export CFLAGS
CFLAGS :=改为EXTRA_CFLAGS :
- 编译RT5572 RT3572
- A20集成rt5572驱动
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- 编译
- CListCtrl非激活状态高亮显示
- Android开发之SystemService
- atoi 字符串 转换为 数字 leetcode
- 1036. Boys vs Girls (25)-PAT
- 半年内 Android 增加了350,000个恶意应用程序
- 编译RT5572 RT3572
- (java 功能篇) Java 连接Oracle数据库
- 你应该更新的Java知识之Observer
- T-SQL 编码标准
- select,poll,epoll介绍和区别
- adb 命令截取android屏幕
- 你应该更新的Java知识之集合初始化
- Eclipse的下载和安装
- C++ public class