RE: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building userspace.
"Zhang, Xiantao" <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm |
|---|---|
| Message-ID | <42DFA526FC41B1429CE7279EF83C6BDC01B97A6F@pdsmsx415.ccr.corp.intel.com> |
Avi Kivity wrote: > Zhang, Xiantao wrote: >> I can't find a version of unifdef which can handle || operation, >> which version are you using? >> > > 1.117 > > Given the input > > #if defined(X) || defined(Y) > aaa > #else > bbb > #endif > > Running 'unifdef -DX -UY' seems to make sense out of it. Okay, but we have to do it with -DCONFIG_X86 and -DCONFIG_IA64 to do unifdef. It maybe confusing. But anyway, if it can solve the issue and has no other side-effect. I am Okay for that :) Xiantao