From 1ab64c5413f79cc38f9b17520df69a4e01041046 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 4 Mar 2011 18:51:55 +0200 Subject: gpu_neon: basic skeleton gpu plugin --- plugins/gpu_neon/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 plugins/gpu_neon/Makefile (limited to 'plugins/gpu_neon/Makefile') diff --git a/plugins/gpu_neon/Makefile b/plugins/gpu_neon/Makefile new file mode 100644 index 0000000..aab989f --- /dev/null +++ b/plugins/gpu_neon/Makefile @@ -0,0 +1,15 @@ +CC = $(CROSS_COMPILE)gcc +CFLAGS += -ggdb -Wall -fPIC +CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp + +TARGET = gpu_neon.so +LDFLAGS += -shared -Wl,-soname,$(TARGET) +SRC += gpu.c ../../frontend/arm_utils.s + +all: $(TARGET) + +$(TARGET): $(SRC) + $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) + +clean: + $(RM) $(TARGET) -- cgit v1.2.3