Skip to content

Update Makefile and README to cross compile for x86_64 to arm device (like Raspberry Pi)#30

Open
Keuronde wants to merge 2 commits intoAdamLaurie:masterfrom
Keuronde:master
Open

Update Makefile and README to cross compile for x86_64 to arm device (like Raspberry Pi)#30
Keuronde wants to merge 2 commits intoAdamLaurie:masterfrom
Keuronde:master

Conversation

@Keuronde
Copy link

Update usage of libhid-dev to libusb-dev in readme

Remove 'strip' command in the makefile, couldn't make it work for arm.

Executable tested OK on Raspberry Pi Zero

Update usage of libhid-dev to libusb-dev in readme
Copy link
Owner

@AdamLaurie AdamLaurie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR and apologies for the very slow response!
please take DEBUG back out
instead of removing STRIP i suggest you override its command for your targets - maybe set to echo some message?
please remove binaries - i will compile and add them

- Remove Debug flag
- Keep strip command for x86 (32bits and 64bits) architecture
- Add some @echo command to explain the build target

In addition, using gcc-10 instead of gcc-8 since in debian 12, this is the default version.
@Keuronde Keuronde requested a review from AdamLaurie July 24, 2023 11:02
@Keuronde
Copy link
Author

Hey, thanks for answering this pull request !
I have updated the Makefile following your advises. Please tell me if it's OK now !

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