aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bf3eee2..d0b4bc7 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ CFLAGS += -ggdb -Ifrontend
LDFLAGS += -lz -lpthread -ldl
ifdef CROSS_COMPILE
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -ffast-math
+ASFLAGS += -mcpu=cortex-a8 -mfpu=neon
endif
ifndef DEBUG
CFLAGS += -O2
@@ -55,6 +56,9 @@ OBJS += gui/Config.o gui/Plugin.o
OBJS += frontend/main.o frontend/plugin.o frontend/plugin_lib.o
OBJS += frontend/linux/fbdev.o
+ifdef CROSS_COMPILE
+OBJS += frontend/arm_utils.o
+endif
$(TARGET): $(OBJS)
$(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map