How about creating stub functions instead of #ifdefs?
something like
pc-stubs.c
#ifndef CONFIG_VMWARE_VGA
pci_vmsvga_init()
{
error ...
}
#endif
#ifndef CONFIG_...
...
On Wed, Jan 12, 2011 at 11:34:29PM -0700, David Ahern wrote:
David Ahern (8):
fix 'no such file' error from
On 01/13/11 02:57, Isaku Yamahata wrote:
How about creating stub functions instead of #ifdefs?
something like
pc-stubs.c
#ifndef CONFIG_VMWARE_VGA
pci_vmsvga_init()
{
error ...
}
#endif
#ifndef CONFIG_...
...
I wasn't trying to re-architect how the CONFIG_ is implemented;
David Ahern (8):
fix 'no such file' error from make_device_config.sh
x86_64 config: fix compile for CONFIG_VMWARE_VGA=n
x86_64 config: fix compile for CONFIG_PARALLEL=n
remove unused parallel_* variables from pc.c
x86_64 config: fix compile for CONFIG_NE2000_ISA=n
x86_64 config: fix