Skip to content
Snippets Groups Projects
fix-Makefile.patch 1.45 KiB
Newer Older
  • Learn to ignore specific revisions
  • ab0027's avatar
    ab0027 committed
    diff --git a/Makefile b/Makefile
    
    ab0027's avatar
    ab0027 committed
    index fdf0cae..c54d721 100644
    
    ab0027's avatar
    ab0027 committed
    --- a/Makefile
    +++ b/Makefile
    
    ab0027's avatar
    ab0027 committed
    @@ -25,7 +25,11 @@ default: all
     $(SUBDIRS)::
    
    ab0027's avatar
    ab0027 committed
     	$(MAKE) -C $@ $(MAKECMDGOALS)
     
    
    ab0027's avatar
    ab0027 committed
    -all clean install uninstall: $(SUBDIRS)
    +all clean uninstall: $(SUBDIRS)
    +
    +install: $(SUBDIRS)
    
    ab0027's avatar
    ab0027 committed
    +	install -D $(DESTDIR)/zynthian/zynthian-sw/setBfree/lv2/b_synth $(DESTDIR)/zynthian/zynthian-plugins/lv2/b_synth
    +	install -D $(DESTDIR)/zynthian/zynthian-sw/setBfree/lv2/b_whirl $(DESTDIR)/zynthian/zynthian-plugins/lv2/b_whirl
    
    ab0027's avatar
    ab0027 committed
     
     doc:
     	help2man -N --help-option=-H -n 'DSP tonewheel organ' -o doc/setBfree.1 src/setBfree
    diff --git a/common.mak b/common.mak
    
    ab0027's avatar
    ab0027 committed
    index 0e2f72b..d04fec4 100644
    
    ab0027's avatar
    ab0027 committed
    --- a/common.mak
    +++ b/common.mak
    @@ -1,7 +1,7 @@
     # TODO include this only once and export variables
     
     PREFIX ?= /usr/local
    -OPTIMIZATIONS ?= -msse -msse2 -mfpmath=sse -ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only
    +OPTIMIZATIONS ?= -mcpu=cortex-a53 -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mlittle-endian -munaligned-access -mvectorize-with-neon-quad -ftree-vectorize -ffast-math -fomit-frame-pointer -O3 -fno-finite-math-only
     ENABLE_CONVOLUTION ?= no
     INSTALL_EXTRA_LV2 ?= no
     FONTFILE?=/usr/share/fonts/truetype/ttf-bitstream-vera/VeraBd.ttf
    @@ -20,7 +20,7 @@ LV2VERSION=$(VERSION)
     
     bindir = $(PREFIX)/bin
     sharedir = $(PREFIX)/share/setBfree
    -lv2dir = $(PREFIX)/lib/lv2
    
    ab0027's avatar
    ab0027 committed
    +lv2dir = /zynthian/zynthian-sw/setBfree/lv2
    
    ab0027's avatar
    ab0027 committed
     
     CFLAGS ?= $(OPTIMIZATIONS) -Wall
     ifeq ($(XWIN),)