LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 778|回复: 0

编译内核,想去掉__ASSEMBLY__ 宏定义

[复制链接]
发表于 2007-10-24 20:19:08 | 显示全部楼层 |阅读模式
Linux的Makefile,里面有一个编译选项:
AFLAG:=-D__ASSEMBLY__
想去掉这个宏定义,以便编译一些函数(比如s3c2410_gpio_cfgpin),但是如果直接去掉会出现编译错误:
In file included from arch/asm/kernel/entry-header.S:4,
                      arch/asm/kernel/entry-armv.S:24:
include/asm/assembler.h:17:2:#error "Only include this from assembly code"
用make menuconfig后没有找到关于这个地方的配置。
请问该如何去掉这个宏定义呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表