AVR32: fix libusb build
PATCH 1/1 AVR32: fix libusb build
The libc of the avr32 toolchains seem to lack the timerfd-associated functions.
Pass --disable-timerfd to libusb configure script when building for avr32.
Fixes most of the recent avr32 breakages, such as
http://autobuild.buildroot.org/results/f418b6c0b026891c27467f61444b6eac8c105681
or
http://autobuild.buildroot.org/results/1a9e571998bc0a40822dca84267abbdd969bab5e
--- package/libusb/libusb.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/libusb/libusb.mk +4 -0
@@ -11,5 +11,9 @@ LIBUSB_LICENSE_FILES = COPYING LIBUSB_DEPENDENCIES = host-pkgconf LIBUSB_INSTALL_STAGING = YES +ifeq ($(BR2_avr32),y) +LIBUSB_CONF_OPT += --disable-timerfd +endif + $(eval $(autotools-package)) $(eval $(host-autotools-package))
Signature · 1 line
1.7.9.5
PATCH 1/1 AVR32: fix libusb build
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Maxime" == Maxime Ripard <[email protected]> writes:
Maxime> The libc of the avr32 toolchains seem to lack the timerfd-associated Maxime> functions.
Maxime> Pass --disable-timerfd to libusb configure script when building for Maxime> avr32.
Maxime> Fixes most of the recent avr32 breakages, such as
Maxime> http://autobuild.buildroot.org/results/f418b6c0b026891c27467f61444b6eac8c105681
Maxime> or
Maxime> http://autobuild.buildroot.org/results/1a9e571998bc0a40822dca84267abbdd969bab5e
Committed, thanks. Does this mean we can revert 2424cc6 (libhid: disable on avr32)?
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 AVR32: fix libusb build
Le 23/11/2012 10:40, Peter Korsgaard a ?crit :
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Maxime" == Maxime Ripard <[email protected]> writes:
Maxime> The libc of the avr32 toolchains seem to lack the timerfd-associated Maxime> functions.
Maxime> Pass --disable-timerfd to libusb configure script when building for Maxime> avr32.
Quoted 7 lines
Maxime> Fixes most of the recent avr32 breakages, such as
Maxime> http://autobuild.buildroot.org/results/f418b6c0b026891c27467f61444b6eac8c105681
Maxime> or
Maxime> http://autobuild.buildroot.org/results/1a9e571998bc0a40822dca84267abbdd969bab5eCommitted, thanks. Does this mean we can revert 2424cc6 (libhid: disable on avr32)?
Yes, from the build logs, it looks like it was the same error, so this patch should fix it as well.
Maxime
Signature · 4 lines
Maxime Ripard, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 AVR32: fix libusb build
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Maxime" == Maxime Ripard <[email protected]> writes:
Hi,
Maxime> Fixes most of the recent avr32 breakages, such as
Maxime> http://autobuild.buildroot.org/results/f418b6c0b026891c27467f61444b6eac8c105681
Maxime> or
Maxime> http://autobuild.buildroot.org/results/1a9e571998bc0a40822dca84267abbdd969bab5e
Quoted 3 lines
Quoted 3 lines
Committed, thanks. Does this mean we can revert 2424cc6 (libhid: disable on avr32)?
Maxime> Yes, from the build logs, it looks like it was the same error, so this Maxime> patch should fix it as well.
Ok, will revert - Thanks.
Signature · 1 line
Bye, Peter Korsgaard