From 2ae8854851b430fb97bfa32ea0064a3a3bea075f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 14 Feb 2019 14:48:41 +0100 Subject: [PATCH] gxplugins.lv2: get rid of autotools-brokensep / reduce patch to what's required MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...Adjust-Makefiles-for-cross-compiling.patch | 1164 ----------------- .../guitarix/gxplugins.lv2_git.bb | 14 +- 2 files changed, 9 insertions(+), 1169 deletions(-) diff --git a/recipes-musicians/guitarix/gxplugins.lv2/0001-Adjust-Makefiles-for-cross-compiling.patch b/recipes-musicians/guitarix/gxplugins.lv2/0001-Adjust-Makefiles-for-cross-compiling.patch index afbabf40..af8d607b 100644 --- a/recipes-musicians/guitarix/gxplugins.lv2/0001-Adjust-Makefiles-for-cross-compiling.patch +++ b/recipes-musicians/guitarix/gxplugins.lv2/0001-Adjust-Makefiles-for-cross-compiling.patch @@ -53,41 +53,6 @@ diff --git a/GxAxisFace.lv2/Makefile b/GxAxisFace.lv2/Makefile index 1193800..ea27187 100644 --- a/GxAxisFace.lv2/Makefile +++ b/GxAxisFace.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_AxisFace @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -114,41 +79,6 @@ diff --git a/GxBoobTube.lv2/Makefile b/GxBoobTube.lv2/Makefile index 66cf7eb..1f81fcd 100644 --- a/GxBoobTube.lv2/Makefile +++ b/GxBoobTube.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_boobtube @@ -38,7 +12,7 @@ -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -173,41 +103,6 @@ diff --git a/GxBottleRocket.lv2/Makefile b/GxBottleRocket.lv2/Makefile index e7efdcc..b01970f 100644 --- a/GxBottleRocket.lv2/Makefile +++ b/GxBottleRocket.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_bottlerocket @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -232,58 +127,10 @@ index e7efdcc..b01970f 100644 clean : @rm -f $(NAME).so -diff --git a/GxBottleRocket.lv2/gui/gx_bottlerocket_x11ui.c b/GxBottleRocket.lv2/gui/gx_bottlerocket_x11ui.c -index 6af5bf6..e8879eb 100644 ---- a/GxBottleRocket.lv2/gui/gx_bottlerocket_x11ui.c -+++ b/GxBottleRocket.lv2/gui/gx_bottlerocket_x11ui.c -@@ -29,7 +29,7 @@ - - // define some MACROS to read png data from binary stream - // png's been converted to object files with --// ld -r -b binary name.png -o name.o -+// $(LD) -r -b binary name.png -o name.o - - #ifdef __APPLE__ - #include diff --git a/GxCreamMachine.lv2/Makefile b/GxCreamMachine.lv2/Makefile index 53c1dc6..a8b3604 100644 --- a/GxCreamMachine.lv2/Makefile +++ b/GxCreamMachine.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_CreamMachine @@ -36,7 +10,7 @@ # set compile flags CXXFLAGS += -I. -I./dsp -I./plugin -I./dsp/zita-resampler-1.1.0 -I./dsp/zita-resampler-1.1.0/zita-resampler -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -308,41 +155,6 @@ diff --git a/GxDOP250.lv2/Makefile b/GxDOP250.lv2/Makefile index ba27784..a797bb4 100644 --- a/GxDOP250.lv2/Makefile +++ b/GxDOP250.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_DOP250 @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -369,41 +181,6 @@ diff --git a/GxFz1b.lv2/Makefile b/GxFz1b.lv2/Makefile index 72df63a..6311726 100644 --- a/GxFz1b.lv2/Makefile +++ b/GxFz1b.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_maestro_fz1b @@ -38,7 +12,7 @@ -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -432,41 +209,6 @@ diff --git a/GxFz1s.lv2/Makefile b/GxFz1s.lv2/Makefile index fd5af20..1de0565 100644 --- a/GxFz1s.lv2/Makefile +++ b/GxFz1s.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_maestro_fz1s @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -495,41 +237,6 @@ diff --git a/GxGuvnor.lv2/Makefile b/GxGuvnor.lv2/Makefile index 065acf1..5dc4406 100644 --- a/GxGuvnor.lv2/Makefile +++ b/GxGuvnor.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_guvnor @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -552,41 +259,6 @@ diff --git a/GxHeathkit.lv2/Makefile b/GxHeathkit.lv2/Makefile index 1669295..ae5ba5d 100644 --- a/GxHeathkit.lv2/Makefile +++ b/GxHeathkit.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_Heathkit @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -613,41 +285,6 @@ diff --git a/GxHotBox.lv2/Makefile b/GxHotBox.lv2/Makefile index 8df2752..16d805f 100644 --- a/GxHotBox.lv2/Makefile +++ b/GxHotBox.lv2/Makefile -@@ -1,33 +1,8 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif - -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_hotbox @@ -38,7 +13,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -672,58 +309,10 @@ index 8df2752..16d805f 100644 clean : @rm -f $(NAME).so -diff --git a/GxHotBox.lv2/gui/gx_hotbox_x11ui.c b/GxHotBox.lv2/gui/gx_hotbox_x11ui.c -index 64fe692..3407828 100644 ---- a/GxHotBox.lv2/gui/gx_hotbox_x11ui.c -+++ b/GxHotBox.lv2/gui/gx_hotbox_x11ui.c -@@ -29,7 +29,7 @@ - - // define some MACROS to read png data from binary stream - // png's been converted to object files with --// ld -r -b binary name.png -o name.o -+// $(LD) -r -b binary name.png -o name.o - - #ifdef __APPLE__ - #include diff --git a/GxHyperion.lv2/Makefile b/GxHyperion.lv2/Makefile index 86f8b88..2bc01e0 100644 --- a/GxHyperion.lv2/Makefile +++ b/GxHyperion.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_hyperion @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -742,58 +331,10 @@ index 86f8b88..2bc01e0 100644 clean : @rm -f $(NAME).so -diff --git a/GxHyperion.lv2/gui/gx_hyperion_x11ui.c b/GxHyperion.lv2/gui/gx_hyperion_x11ui.c -index a916aee..5957e09 100644 ---- a/GxHyperion.lv2/gui/gx_hyperion_x11ui.c -+++ b/GxHyperion.lv2/gui/gx_hyperion_x11ui.c -@@ -29,7 +29,7 @@ - - // define some MACROS to read png data from binary stream - // png's been converted to object files with --// ld -r -b binary name.png -o name.o -+// $(LD) -r -b binary name.png -o name.o - - #ifdef __APPLE__ - #include diff --git a/GxKnightFuzz.lv2/Makefile b/GxKnightFuzz.lv2/Makefile index 16d13b8..02a9713 100644 --- a/GxKnightFuzz.lv2/Makefile +++ b/GxKnightFuzz.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_KnightFuzz @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -820,41 +361,6 @@ diff --git a/GxLiquidDrive.lv2/Makefile b/GxLiquidDrive.lv2/Makefile index 92796e6..537923d 100644 --- a/GxLiquidDrive.lv2/Makefile +++ b/GxLiquidDrive.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_liquiddrive @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -881,41 +387,6 @@ diff --git a/GxMicroAmp.lv2/Makefile b/GxMicroAmp.lv2/Makefile index 60818f0..556ade0 100644 --- a/GxMicroAmp.lv2/Makefile +++ b/GxMicroAmp.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_MicroAmp @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -942,41 +413,6 @@ diff --git a/GxQuack.lv2/Makefile b/GxQuack.lv2/Makefile index 2aed99f..a39c911 100644 --- a/GxQuack.lv2/Makefile +++ b/GxQuack.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_quack @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1005,41 +441,6 @@ diff --git a/GxSD1.lv2/Makefile b/GxSD1.lv2/Makefile index 3b98ee0..4cbfc6a 100644 --- a/GxSD1.lv2/Makefile +++ b/GxSD1.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_sd1sim @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1068,41 +469,6 @@ diff --git a/GxSD2Lead.lv2/Makefile b/GxSD2Lead.lv2/Makefile index 7759f91..0f7bb91 100644 --- a/GxSD2Lead.lv2/Makefile +++ b/GxSD2Lead.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_sd2lead @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1129,41 +495,6 @@ diff --git a/GxSVT.lv2/Makefile b/GxSVT.lv2/Makefile index 74a96a8..a8bc7f6 100644 --- a/GxSVT.lv2/Makefile +++ b/GxSVT.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_ampegsvt @@ -38,7 +12,7 @@ -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1190,41 +521,6 @@ diff --git a/GxSaturator.lv2/Makefile b/GxSaturator.lv2/Makefile index 62aea02..5c71786 100644 --- a/GxSaturator.lv2/Makefile +++ b/GxSaturator.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_saturate @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1247,41 +543,6 @@ diff --git a/GxSlowGear.lv2/Makefile b/GxSlowGear.lv2/Makefile index 6b236a1..ad72d70 100644 --- a/GxSlowGear.lv2/Makefile +++ b/GxSlowGear.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_slowgear @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1304,41 +565,6 @@ diff --git a/GxSunFace.lv2/Makefile b/GxSunFace.lv2/Makefile index 428539b..ded15f6 100644 --- a/GxSunFace.lv2/Makefile +++ b/GxSunFace.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_SunFace @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1365,41 +591,6 @@ diff --git a/GxSuperFuzz.lv2/Makefile b/GxSuperFuzz.lv2/Makefile index c3fe9f2..b102d7c 100644 --- a/GxSuperFuzz.lv2/Makefile +++ b/GxSuperFuzz.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_sfp @@ -38,7 +12,7 @@ -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1422,41 +613,6 @@ diff --git a/GxSuppaToneBender.lv2/Makefile b/GxSuppaToneBender.lv2/Makefile index ab640c2..e79fc1c 100644 --- a/GxSuppaToneBender.lv2/Makefile +++ b/GxSuppaToneBender.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_vstb @@ -38,7 +12,7 @@ -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1475,58 +631,10 @@ index ab640c2..e79fc1c 100644 clean : @rm -f $(NAME).so -diff --git a/GxSuppaToneBender.lv2/gui/gx_vstb_x11ui.c b/GxSuppaToneBender.lv2/gui/gx_vstb_x11ui.c -index 95ccede..bc9dd28 100644 ---- a/GxSuppaToneBender.lv2/gui/gx_vstb_x11ui.c -+++ b/GxSuppaToneBender.lv2/gui/gx_vstb_x11ui.c -@@ -29,7 +29,7 @@ - - // define some MACROS to read png data from binary stream - // png's been converted to object files with --// ld -r -b binary name.png -o name.o -+// $(LD) -r -b binary name.png -o name.o - - #ifdef __APPLE__ - #include diff --git a/GxToneMachine.lv2/Makefile b/GxToneMachine.lv2/Makefile index 92b7825..43f3668 100644 --- a/GxToneMachine.lv2/Makefile +++ b/GxToneMachine.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_tonemachine @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1549,41 +657,6 @@ diff --git a/GxTubeDistortion.lv2/Makefile b/GxTubeDistortion.lv2/Makefile index dfb58e5..1839ed7 100644 --- a/GxTubeDistortion.lv2/Makefile +++ b/GxTubeDistortion.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_TubeDistortion @@ -38,7 +12,7 @@ -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1610,41 +683,6 @@ diff --git a/GxUVox720k.lv2/Makefile b/GxUVox720k.lv2/Makefile index 3933ea2..705dd6c 100644 --- a/GxUVox720k.lv2/Makefile +++ b/GxUVox720k.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_uvox @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1667,41 +705,6 @@ diff --git a/GxVBassPreAmp.lv2/Makefile b/GxVBassPreAmp.lv2/Makefile index bc60ce1..fd6a707 100644 --- a/GxVBassPreAmp.lv2/Makefile +++ b/GxVBassPreAmp.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_voxbass @@ -38,7 +12,7 @@ -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1726,59 +729,10 @@ index bc60ce1..fd6a707 100644 clean : @rm -f $(NAME).so -diff --git a/GxVBassPreAmp.lv2/gui/gx_voxbass_x11ui.c b/GxVBassPreAmp.lv2/gui/gx_voxbass_x11ui.c -index d5dc134..647cb26 100644 ---- a/GxVBassPreAmp.lv2/gui/gx_voxbass_x11ui.c -+++ b/GxVBassPreAmp.lv2/gui/gx_voxbass_x11ui.c -@@ -29,7 +29,7 @@ - - // define some MACROS to read png data from binary stream - // png's been converted to object files with --// ld -r -b binary name.png -o name.o -+// $(LD) -r -b binary name.png -o name.o - - #ifdef __APPLE__ - #include diff --git a/GxValveCaster.lv2/Makefile b/GxValveCaster.lv2/Makefile index 54c6df5..bbfc7e9 100644 --- a/GxValveCaster.lv2/Makefile +++ b/GxValveCaster.lv2/Makefile -@@ -1,33 +1,7 @@ -- -+ - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_valvecaster @@ -39,7 +13,7 @@ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) DEBUGFLAGS += -I. -I./dsp -I./plugin -fPIC -DPIC -O2 -Wall -D DEBUG @@ -1803,41 +757,6 @@ diff --git a/GxVintageFuzzMaster.lv2/Makefile b/GxVintageFuzzMaster.lv2/Makefile index 03ff63e..0f96ffd 100644 --- a/GxVintageFuzzMaster.lv2/Makefile +++ b/GxVintageFuzzMaster.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_vfm @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1860,41 +779,6 @@ diff --git a/GxVmk2.lv2/Makefile b/GxVmk2.lv2/Makefile index 53c6dc6..74c9fa2 100644 --- a/GxVmk2.lv2/Makefile +++ b/GxVmk2.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_vmk2d @@ -38,7 +12,7 @@ -fPIC -DPIC -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1919,41 +803,6 @@ diff --git a/GxVoodoFuzz.lv2/Makefile b/GxVoodoFuzz.lv2/Makefile index 2f00294..fdd609a 100644 --- a/GxVoodoFuzz.lv2/Makefile +++ b/GxVoodoFuzz.lv2/Makefile -@@ -1,33 +1,7 @@ - - STRIP ?= strip -- # check if user is root -- user = $(shell whoami) -- ifeq ($(user),root) - INSTALL_DIR = /usr/lib/lv2 -- else -- INSTALL_DIR = ~/.lv2 -- endif -- -- # check CPU and supported optimization flags -- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) -- SSE_CFLAGS = -msse3 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) -- SSE_CFLAGS = -msse2 -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) -- SSE_CFLAGS = -msse -mfpmath=sse -- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) -- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) -- SSE_CFLAGS = -march=armv7-a -mfpu=vfpv3 -- endif -- else -- ARMCPU = "YES" -- endif -- else -- SSE_CFLAGS = -- endif -+ SSE_CFLAGS = - - # set bundle name - NAME = gx_voodoo @@ -38,7 +12,7 @@ -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce \ -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS) @@ -1972,19 +821,6 @@ index 2f00294..fdd609a 100644 clean : @rm -f $(NAME).so -diff --git a/GxVoodoFuzz.lv2/gui/gx_voodoo_x11ui.c b/GxVoodoFuzz.lv2/gui/gx_voodoo_x11ui.c -index 69549d1..bedd8ce 100644 ---- a/GxVoodoFuzz.lv2/gui/gx_voodoo_x11ui.c -+++ b/GxVoodoFuzz.lv2/gui/gx_voodoo_x11ui.c -@@ -29,7 +29,7 @@ - - // define some MACROS to read png data from binary stream - // png's been converted to object files with --// ld -r -b binary name.png -o name.o -+// $(LD) -r -b binary name.png -o name.o - - #ifdef __APPLE__ - #include -- 2.20.1 diff --git a/recipes-musicians/guitarix/gxplugins.lv2_git.bb b/recipes-musicians/guitarix/gxplugins.lv2_git.bb index 9319ce8c..3a6e73d4 100644 --- a/recipes-musicians/guitarix/gxplugins.lv2_git.bb +++ b/recipes-musicians/guitarix/gxplugins.lv2_git.bb @@ -11,7 +11,7 @@ SRCREV = "63f19485984c002caddec734a9ee94faad2acb55" S = "${WORKDIR}/git" PV = "0.6" -inherit autotools-brokensep pkgconfig +inherit pkgconfig DEPENDS += " \ cairo \ @@ -19,9 +19,13 @@ DEPENDS += " \ lv2 \ " -EXTRA_OEMAKE += " \ - PREFIX=${prefix} \ - STRIP=echo \ -" +do_compile() { + oe_runmake SSE_CFLAGS= STRIP=echo +} + +do_install() { + oe_runmake DESTDIR=${D} PREFIX=${prefix}INSTALL_DIR=${libdir}/lv2 install +} + FILES_${PN} += "${libdir}/lv2"