added simple Probe.pak
edit exec.sh and adb push to device and run Tools/Probe.pak to quickly log output from the chrooted environment (useful since the runtime is different from the adb shell one)
This commit is contained in:
parent
cf44917afa
commit
abe703fffe
4 changed files with 47 additions and 0 deletions
15
src/prober/makefile
Normal file
15
src/prober/makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
ifeq (,$(CROSS_COMPILE))
|
||||
$(error missing CROSS_COMPILE for this toolchain)
|
||||
endif
|
||||
|
||||
TARGET = Probe.pak/prober.elf
|
||||
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
CFLAGS = -marm -mtune=cortex-a9 -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv7-a -fomit-frame-pointer
|
||||
CFLAGS += -I.
|
||||
# LDFLAGS = -ldl -lSDL -lSDL_image -lSDL_ttf
|
||||
|
||||
all:
|
||||
$(CC) prober.c -o $(TARGET) $(CFLAGS) $(LDFLAGS)
|
||||
clean:
|
||||
rm -f $(TARGET)
|
||||
Loading…
Add table
Add a link
Reference in a new issue