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)
15 lines
No EOL
382 B
Makefile
15 lines
No EOL
382 B
Makefile
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)
|