qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [Qemu-devel] [PATCH 0/2] Fix compilation dependency issue


From: Peter Maydell
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH 0/2] Fix compilation dependency issues of CONFIG_ARM_V7M
Date: Fri, 2 Jun 2017 16:00:30 +0100

On 28 April 2017 at 14:58, Wei Huang <address@hidden> wrote:
> Using #ifdef is indeed a cleaner solution. However I can't use "#ifdef
> CONFIG_ARM_V7M" & co inside target/arm/cpu.c file because CONFIG_xxx
> aren't available as preprocessor directives. From what I saw the
> CONFIG_xxx options can only control compiling source file. One solution
> is to extract out all v7M code into separate files and use
> CONFIG_ARM_V7M to direct compilation. A bit messy though. Any other
> suggestions?

We seem to run into "CONFIG_FOO is defined for make but not
for the C preprocessor" from time to time, so maybe we should
fix that?

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]