diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-27 06:57:23 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-27 06:57:31 +0200 |
commit | ad28a2f96554bed2431258d0a32ae011ade7f4ee (patch) | |
tree | d938def3a07f485f40dba56f3b84c4e323da4793 | |
parent | b5c82ea0f4f2d79b1562ad1079957657ef32845a (diff) |
brutefir: fix cross-compile for ARM
-rw-r--r-- | package/brutefir/Makefile | 2 | ||||
-rw-r--r-- | package/brutefir/patches/patch-Makefile | 16 |
2 files changed, 11 insertions, 7 deletions
diff --git a/package/brutefir/Makefile b/package/brutefir/Makefile index 2f4c79029..9dd1f71fc 100644 --- a/package/brutefir/Makefile +++ b/package/brutefir/Makefile @@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= brutefir PKG_VERSION:= 1.0o -PKG_RELEASE:= 2 +PKG_RELEASE:= 3 PKG_HASH:= caae4a933b53b55b29d6cb7e2803e20819f31def6d0e4e12f9a48351e6dbbe9f PKG_DESCR:= convolution engine PKG_SECTION:= mm/audio diff --git a/package/brutefir/patches/patch-Makefile b/package/brutefir/patches/patch-Makefile index cbeeec4b6..2766ff041 100644 --- a/package/brutefir/patches/patch-Makefile +++ b/package/brutefir/patches/patch-Makefile @@ -1,5 +1,5 @@ --- brutefir-1.0o.orig/Makefile 2016-11-15 13:39:48.000000000 +0100 -+++ brutefir-1.0o/Makefile 2017-03-16 21:10:39.821793707 +0100 ++++ brutefir-1.0o/Makefile 2017-03-27 06:25:27.528418184 +0200 @@ -5,12 +5,12 @@ LDFLAGS += ################################### @@ -39,10 +39,14 @@ CHMOD_REMOVEX = -x ################################### -@@ -66,14 +62,11 @@ LIB_TARGETS = cli.bflogic eq.bflogic fil - UNAME = $(shell uname) - UNAME_P = $(shell uname -p) - UNAME_M = $(shell uname -m) +@@ -63,17 +59,12 @@ LIB_TARGETS = cli.bflogic eq.bflogic fil + ################################### + # System-specific settings + +-UNAME = $(shell uname) +-UNAME_P = $(shell uname -p) +-UNAME_M = $(shell uname -m) ++UNAME = Linux +UNAME_M ?= # Linux @@ -56,7 +60,7 @@ BRUTEFIR_OBJS += $(BRUTEFIR_SSE_OBJS) CC_FLAGS += -msse endif -@@ -127,27 +120,27 @@ brutefir: $(BRUTEFIR_OBJS) +@@ -127,27 +118,27 @@ brutefir: $(BRUTEFIR_OBJS) $(CC) $(LDFLAGS) $(LIBPATHS) $(LDMULTIPLEDEFS) -o $@ $(BRUTEFIR_OBJS) $(BRUTEFIR_LIBS) alsa.bfio: $(BFIO_ALSA_OBJS) |