Thread (4 messages) 4 messages, 2 authors, 2012-10-01

Re: [PATCH BlueZ] build: Fix out-of-tree builds

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-10-01 14:53:54

Hi Anderson,
quoted
quoted
 profiles/sap/sap.c: profiles/sap/@SAP_DRIVER@
-     $(AM_V_GEN)$(LN_S) $(abs_top_srcdir)/$< $@
+     $(AM_V_GEN)$(LN_S) $(abs_top_builddir)/$< $@

 profiles/input/suspend.c: profiles/input/@HOG_SUSPEND_DRIVER@
      $(AM_V_GEN)$(LN_S) $(abs_top_srcdir)/$< $@
personally I am no longer a big fan of these selection of a specific
driver. We should be able to build all of them and make the selection at
runtime. So there is more work needed here.
I agree, this could also help on testing as well (actually, all
drivers are built, regardless of which one was selected by configure,
but only the selected object is linked).

What do you propose? a config file option, e.g. "sap_driver=u8500" ,
"hog_suspend_driver=dummy" , etc (this could fit of the INI config
format proposal).
something like that. I have no clear idea. So just go ahead and propose
a patch set for it. We then can review it.

Regards

Marcel

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help