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

Add platform-independent build #7

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

lalten
Copy link

@lalten lalten commented Feb 3, 2021

This PR makes the software buildable on Linux (probably any platform actually).
Changes are:

  • to include dfuutils as submodule to build from source
    • dfuutil needed a small patch to be linux-compatible. I created PR Remove stdafx.h qba667/dfuutils#1 for this upstream. If that gets merged, the submodule should be updated to point at upstream again.
  • small modification (make debug in main.c static) to be able to build dfuutils and the updater in the same project
  • Addition of the Qt project file (NV14-updater.pro)
  • libusb-1.0 is assumed to be available as system dep

To build this project one would now have to

git submodule update --init
qmake
make

Downloading, flashing, etc works :)

image

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.

1 participant