Skip to content
Snippets Groups Projects
Select Git revision
  • 6be2a55bde5531de9897fd844c6db13e49213ae8
  • master default protected
  • v0.10.0
  • v0.10.0-rc2
  • v0.10.0-rc1
  • v0.9.0
  • v0.9.0-rc1
  • v0.8.0
  • v0.8.0-rc2
  • v0.8.0-rc1
  • v0.7.0
  • v0.7.0-rc2
  • v0.7.0-rc1
  • v0.6.1
  • v0.6.0
  • v0.6.0-rc2
  • v0.6.0-rc1
  • v0.5.0
  • v0.5.0-rc2
  • v0.5.0-rc1
  • v0.4.0
  • v0.4.0-rc2
22 results

README

  • Paul Fertser's avatar
    6be2a55b
    configure: remove --enable-libusb0 option, rework libusb selection · 6be2a55b
    Paul Fertser authored
    
    This makes libusb handling more consistent: if any driver requires
    libusb, first check for libusb-1 availability, if not found and
    libusb0 is ok for this case, try libusb0.
    
    A user-visible bug fixed by this is that when a user was selecting a
    driver that required libusb-1 but was lacking the necessary dev files
    or libraries, configure didn't complain (but the build was failing of
    course).
    
    --enable-stlink doesn't really require libusb-1 but since it's using the
    same automake symbol HLAADAPTER, ti_icdi is getting built too which needs
    libusb1 unconditionally. Since using libusb-0.1 makes little sense anyway,
    leave that as is.
    
    Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
    Change-Id: I630a4ad9e4583743d45b2233bf5d8f4e5c0aab82
    Reviewed-on: http://openocd.zylin.com/1434
    
    
    Tested-by: jenkins
    Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>
    6be2a55b
    History
    configure: remove --enable-libusb0 option, rework libusb selection
    Paul Fertser authored
    
    This makes libusb handling more consistent: if any driver requires
    libusb, first check for libusb-1 availability, if not found and
    libusb0 is ok for this case, try libusb0.
    
    A user-visible bug fixed by this is that when a user was selecting a
    driver that required libusb-1 but was lacking the necessary dev files
    or libraries, configure didn't complain (but the build was failing of
    course).
    
    --enable-stlink doesn't really require libusb-1 but since it's using the
    same automake symbol HLAADAPTER, ti_icdi is getting built too which needs
    libusb1 unconditionally. Since using libusb-0.1 makes little sense anyway,
    leave that as is.
    
    Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
    Change-Id: I630a4ad9e4583743d45b2233bf5d8f4e5c0aab82
    Reviewed-on: http://openocd.zylin.com/1434
    
    
    Tested-by: jenkins
    Reviewed-by: default avatarSpencer Oliver <spen@spen-soft.co.uk>