searky 发表于 2007-10-24 20:20:31

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

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后没有找到关于这个地方的配置。
请问该如何去掉这个宏定义呢?
页: [1]
查看完整版本: 编译内核,想去掉__ASSEMBLY__ 宏定义