QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2066|回复: 0

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

[复制链接]
发表于 2007-10-24 20:20:31 | 显示全部楼层 |阅读模式
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后没有找到关于这个地方的配置。
请问该如何去掉这个宏定义呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-3-29 04:00 , Processed in 0.054104 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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