diff options
author | notaz | 2012-11-21 02:38:10 +0200 |
---|---|---|
committer | notaz | 2012-11-24 04:25:25 +0200 |
commit | ddd99692bc3e1246c2ccb5e551512f35b4f7959a (patch) | |
tree | 5a66818524cfae6bedade26bc8039f1d3d924d0d | |
parent | 603efa29ac7176c5dc27cab52007d4c9f61c3069 (diff) | |
download | pcsx_rearmed-ddd99692bc3e1246c2ccb5e551512f35b4f7959a.tar.gz pcsx_rearmed-ddd99692bc3e1246c2ccb5e551512f35b4f7959a.tar.bz2 pcsx_rearmed-ddd99692bc3e1246c2ccb5e551512f35b4f7959a.zip |
plugins: drop arch filename extensions
they do more harm than good
-rwxr-xr-x | configure | 10 | ||||
-rw-r--r-- | plugins/gpulib/gpulib.mak | 8 | ||||
-rw-r--r-- | plugins/spunull/Makefile | 5 |
3 files changed, 6 insertions, 17 deletions
@@ -449,15 +449,7 @@ echo "ARCH = $ARCH" >> $config_mak echo "PLATFORM = $platform" >> $config_mak echo "BUILTIN_GPU = $builtin_gpu" >> $config_mak echo "SOUND_DRIVERS = $sound_drivers" >> $config_mak -if [ "$ARCH" = "arm" ]; then - echo "PLUGINS = $plugins" >> $config_mak -else - echo -n "PLUGINS =" >> $config_mak - for p in $plugins; do - echo -n " ${p}.${ARCH}" >> $config_mak - done - echo >> $config_mak -fi +echo "PLUGINS = $plugins" >> $config_mak if [ "$have_armv6" = "yes" ]; then echo "HAVE_ARMV6 = 1" >> $config_mak fi diff --git a/plugins/gpulib/gpulib.mak b/plugins/gpulib/gpulib.mak index 22da6f5..ad6a8ad 100644 --- a/plugins/gpulib/gpulib.mak +++ b/plugins/gpulib/gpulib.mak @@ -17,10 +17,10 @@ endif GPULIB_A = ../gpulib/gpulib$(EXT).a ifdef BIN_STANDLALONE -TARGETS += $(BIN_STANDLALONE)$(EXT) +TARGETS += $(BIN_STANDLALONE) endif ifdef BIN_GPULIB -TARGETS += $(BIN_GPULIB)$(EXT) +TARGETS += $(BIN_GPULIB) endif CC_STANDLALONE = $(CC) CC_GPULIB = $(CC) @@ -34,7 +34,7 @@ ifdef BIN_STANDLALONE ifneq ($(findstring .cpp,$(SRC_STANDALONE)),) CC_STANDLALONE = $(CXX) endif -$(BIN_STANDLALONE)$(EXT): $(SRC) $(SRC_STANDALONE) $(GPULIB_A) +$(BIN_STANDLALONE): $(SRC) $(SRC_STANDALONE) $(GPULIB_A) $(CC_STANDLALONE) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) $(LDLIBS_STANDALONE) ln -fs $(PLUGINDIR)/$@ ../ endif @@ -43,7 +43,7 @@ ifdef BIN_GPULIB ifneq ($(findstring .cpp,$(SRC_GPULIB)),) CC_GPULIB = $(CXX) endif -$(BIN_GPULIB)$(EXT): $(SRC) $(SRC_GPULIB) $(GPULIB_A) +$(BIN_GPULIB): $(SRC) $(SRC_GPULIB) $(GPULIB_A) $(CC_GPULIB) -o $@ $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) $(LDLIBS_GPULIB) ln -fs $(PLUGINDIR)/$@ ../ endif diff --git a/plugins/spunull/Makefile b/plugins/spunull/Makefile index dcd25ea..fcfec80 100644 --- a/plugins/spunull/Makefile +++ b/plugins/spunull/Makefile @@ -1,9 +1,6 @@ include ../../config.mak -ifneq "$(ARCH)" "arm" - EXT = .$(ARCH) -endif -TARGET = spunull.so$(EXT) +TARGET = spunull.so WD = $(shell pwd) PLUGINDIR = $(shell basename $(WD)) |