Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on FreeBSD #14

Closed
wants to merge 7 commits into from
Closed

Fix build on FreeBSD #14

wants to merge 7 commits into from

Conversation

duncan-bayne
Copy link

@duncan-bayne duncan-bayne commented Nov 15, 2018

This fixes several issues w/ blink1-tool on FreeBSD:

Also makes a few sundry improvements:

  • Turns up warning level, and treats warnings as errors.
  • Fix Bash scripts that assumed that bash lived in /bin.

Duncan Bayne added 2 commits November 15, 2018 11:07
This function was originally added because it was missing from FreeBSD
libusb.  FreeBSD has subsequently _gained_ that function, in 2012.  See this
commit:

freebsd/freebsd-src@2463f20
blink1-tool relies upon GNU Make and fails on BSD Make.  This change
forces the use of gmake where it's explicitly available.
@duncan-bayne duncan-bayne mentioned this pull request Nov 15, 2018
Duncan Bayne added 4 commits November 15, 2018 14:36
Fixes an odd error when nesting Makefiles using GNU Make on FreeBSD,
and cleaning (but _not_ compiling).
This should prevent more compiler warnings from sneaking back in.
On some systems, for example FreeBSD, bash lives elsewhere by default,
for example in /usr/local/bin.
@todbot
Copy link
Owner

todbot commented Dec 9, 2018

This PR convolves a lot of different issues. I think I addressed the blink1-tool-specific ones. The hidapi ones should be submitted to the hidapi repo. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants