diff options
author | notaz | 2012-04-20 02:28:55 +0300 |
---|---|---|
committer | notaz | 2012-04-22 01:58:03 +0300 |
commit | 4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d (patch) | |
tree | ca9037636932b6e3914e9c98c7c3da9a83796686 /plugins/gpu_neon/Makefile | |
parent | 4a35de071887026bb6dcd6b852738a1866959df7 (diff) | |
download | pcsx_rearmed-4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d.tar.gz pcsx_rearmed-4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d.tar.bz2 pcsx_rearmed-4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d.zip |
bring in configure build system
not using autotools, trying to do something similar like qemu instead.
Diffstat (limited to 'plugins/gpu_neon/Makefile')
-rw-r--r-- | plugins/gpu_neon/Makefile | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/plugins/gpu_neon/Makefile b/plugins/gpu_neon/Makefile index 93839d2..8a7342b 100644 --- a/plugins/gpu_neon/Makefile +++ b/plugins/gpu_neon/Makefile @@ -1,18 +1,6 @@ -CC = $(CROSS_COMPILE)gcc +CFLAGS += -ggdb -Wall -O2 -ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}') - -HAVE_NEON = $(shell $(CC) -E -dD $(CFLAGS_) ../gpulib/gpu.h | grep -q '__ARM_NEON__ 1' && echo 1) - -# FIXME: rework NEON detection to get rid of this -ifeq "$(ARCH)" "arm" - ARM_CORTEXA8 ?= 1 - ifeq "$(ARM_CORTEXA8)" "1" - CFLAGS_ += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp - endif -endif - -CFLAGS += -ggdb -Wall -fPIC -O2 +include ../../config.mak SRC += psx_gpu_if.c |