mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
termux compilation fixes: waveshare, mfd_aes_brute and host target
This commit is contained in:
+6
-3
@@ -9,7 +9,6 @@
|
||||
- [Setup](#setup)
|
||||
- [Setting up Termux](#setting-up-termux)
|
||||
- [Install Proxmark3 package which follows tagged releases](#install-proxmark3-package-which-follows-tagged-releases)
|
||||
- [Optional: Install Proxmark3 package which offers a more up to date version from git `master` branch](#optional-install-proxmark3-package-which-offers-a-more-up-to-date-version-from-git-master-branch)
|
||||
- [Optional: Building Proxmark3 client from source](#optional-building-proxmark3-client-from-source)
|
||||
- [PC-like method](#pc-like-method)
|
||||
- [Specific requirements](#specific-requirements)
|
||||
@@ -68,10 +67,14 @@ pkg install proxmark3
|
||||
```
|
||||
### Optional: Building Proxmark3 client from source
|
||||
```
|
||||
pkg install make clang readline libc++ git binutils
|
||||
pkg install make clang readline libc++ git binutils libgd
|
||||
git clone https://github.com/RfidResearchGroup/proxmark3.git
|
||||
cd proxmark3
|
||||
make clean && make client
|
||||
make clean && make host
|
||||
```
|
||||
Testing:
|
||||
```
|
||||
make host/check
|
||||
```
|
||||
|
||||
## PC-like method
|
||||
|
||||
@@ -5,8 +5,13 @@ MYCFLAGS = -O3 -ffast-math
|
||||
MYDEFS =
|
||||
MYLDLIBS = -lcrypto
|
||||
|
||||
SUPPORT_MARCH := $(shell $(CC) -xc /dev/null -c -o /dev/null -march=native > /dev/null 2>/dev/null && echo y)
|
||||
SUPPORT_MCPU := $(shell $(CC) -xc /dev/null -c -o /dev/null -mcpu=native > /dev/null 2>/dev/null && echo y)
|
||||
SUPPORT_MARCH ?= $(shell $(CC) -xc /dev/null -c -o /dev/null -march=native > /dev/null 2>/dev/null && echo y)
|
||||
SUPPORT_MCPU ?= $(shell $(CC) -xc /dev/null -c -o /dev/null -mcpu=native > /dev/null 2>/dev/null && echo y)
|
||||
# Termux / Android safety
|
||||
ifneq ($(TERMUX_VERSION),)
|
||||
SUPPORT_MARCH := n
|
||||
SUPPORT_MCPU := n
|
||||
endif
|
||||
|
||||
ifeq ($(DONT_BUILD_NATIVE),y)
|
||||
# do nothing
|
||||
|
||||
Reference in New Issue
Block a user