Generate config-devices.h

Generate config-devices.h for each target and config-all-devices.h for
common library.  We don't want to name both config-devices.h to avoid
path problems

Patchworks-ID: 35195
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Juan Quintela 2009-10-07 02:41:03 +02:00 committed by Anthony Liguori
parent 1f3d3c8fd7
commit fe0d4d3f77
3 changed files with 19 additions and 3 deletions

View file

@ -1,3 +1,13 @@
#include "config-host.h"
#include "config-target.h"
/* We want to include different config files for specific targets
And for the common library. They need a different name because
we don't want to rely in paths */
#if defined(NEED_CPU_H)
#include "config-devices.h"
#else
#include "config-all-devices.h"
#endif