diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-17 10:19:41 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-11-22 22:00:33 -0800 |
commit | f0d278b48a659d4811f5494bf7de4a84e9c5880f (patch) | |
tree | b4d93dd5e4c4a1941597c48d76cfcd04b98aa96b /src/Makefile.am | |
parent | 6504929481eab616f064b5d661a057de74b8b488 (diff) |
Skip building xaa files when XAA is not supported
No point building & linking empty *.o files into the drivers.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index c649b3d..36b8d8b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -44,9 +44,12 @@ cirrus_alpine_la_SOURCES = \ alp_driver.c \ alp.h \ alp_hwcurs.c \ - alp_i2c.c \ + alp_i2c.c +if XAA +cirrus_alpine_la_SOURCES += \ alp_xaa.c \ alp_xaam.c +endif cirrus_laguna_la_LTLIBRARIES = cirrus_laguna.la cirrus_laguna_la_LDFLAGS = -module -avoid-version @@ -55,6 +58,9 @@ cirrus_laguna_la_SOURCES = \ lg_driver.c \ lg.h \ lg_hwcurs.c \ - lg_i2c.c \ + lg_i2c.c +if XAA +cirrus_laguna_la_SOURCES += \ lg_xaa.c \ lg_xaa.h +endif |