Signed-off-by: Robert Schwebel <[email protected]> --- .../0001-build-system-fix.diff.patch | 45 ++++++++++++++++++++ patches/cpufrequtils-007/build-system-fix.diff | 38 ---------------- patches/cpufrequtils-007/series | 1 - 3 files changed, 45 insertions(+), 39 deletions(-) create mode 100644 patches/cpufrequtils-007/0001-build-system-fix.diff.patch delete mode 100644 patches/cpufrequtils-007/build-system-fix.diff delete mode 100644 patches/cpufrequtils-007/series
diff --git a/patches/cpufrequtils-007/0001-build-system-fix.diff.patch b/patches/cpufrequtils-007/0001-build-system-fix.diff.patch new file mode 100644 index 0000000..03f48ba --- /dev/null +++ b/patches/cpufrequtils-007/0001-build-system-fix.diff.patch @@ -0,0 +1,45 @@ +From c2d6a2148c0da01244a2a217ecff02d43fcc29fa Mon Sep 17 00:00:00 2001 +From: unknown author <[email protected]> +Date: Sat, 29 Oct 2011 19:03:54 +0200 +Subject: [PATCH] build-system-fix.diff + +Fix various issues while cross compiling +--- + Makefile | 17 ++++++++++------- + 1 files changed, 10 insertions(+), 7 deletions(-) + +diff --git a/Makefile b/Makefile +index f44f817..1b27ecf 100644 +--- a/Makefile ++++ b/Makefile +@@ -80,17 +80,20 @@ INSTALL = /usr/bin/install -c + INSTALL_PROGRAM = ${INSTALL} + INSTALL_DATA = ${INSTALL} -m 644 + INSTALL_SCRIPT = ${INSTALL_PROGRAM} +-LIBTOOL = /usr/bin/libtool ++# --tag required to make libtool happy about the source type ++LIBTOOL = libtool --tag CC + + # If you are running a cross compiler, you may want to set this + # to something more interesting, like "arm-linux-". If you want + # to compile vs uClibc, that can be done here as well. +-CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc- +-CC = $(CROSS)gcc +-LD = $(CROSS)gcc +-AR = $(CROSS)ar +-STRIP = $(CROSS)strip +-RANLIB = $(CROSS)ranlib ++ ++# ptxdist will overwrite them ++#CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc- ++#CC = $(CROSS)gcc ++#LD = $(CROSS)gcc ++#AR = $(CROSS)ar ++#STRIP = $(CROSS)strip ++#RANLIB = $(CROSS)ranlib + HOSTCC = gcc + + +-- +1.7.7 + diff --git a/patches/cpufrequtils-007/build-system-fix.diff b/patches/cpufrequtils-007/build-system-fix.diff deleted file mode 100644 index 7827ab4..0000000 --- a/patches/cpufrequtils-007/build-system-fix.diff +++ /dev/null @@ -1,38 +0,0 @@ -Fix various issues while cross compiling - ---- - Makefile | 17 ++++++++++------- - 1 file changed, 10 insertions(+), 7 deletions(-) - -Index: cpufrequtils-007/Makefile -=================================================================== ---- cpufrequtils-007.orig/Makefile -+++ cpufrequtils-007/Makefile -@@ -80,17 +80,20 @@ INSTALL = /usr/bin/install -c - INSTALL_PROGRAM = ${INSTALL} - INSTALL_DATA = ${INSTALL} -m 644 - INSTALL_SCRIPT = ${INSTALL_PROGRAM} --LIBTOOL = /usr/bin/libtool -+# --tag required to make libtool happy about the source type -+LIBTOOL = libtool --tag CC - - # If you are running a cross compiler, you may want to set this - # to something more interesting, like "arm-linux-". If you want - # to compile vs uClibc, that can be done here as well. --CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc- --CC = $(CROSS)gcc --LD = $(CROSS)gcc --AR = $(CROSS)ar --STRIP = $(CROSS)strip --RANLIB = $(CROSS)ranlib -+ -+# ptxdist will overwrite them -+#CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc- -+#CC = $(CROSS)gcc -+#LD = $(CROSS)gcc -+#AR = $(CROSS)ar -+#STRIP = $(CROSS)strip -+#RANLIB = $(CROSS)ranlib - HOSTCC = gcc - - diff --git a/patches/cpufrequtils-007/series b/patches/cpufrequtils-007/series deleted file mode 100644 index 163fc15..0000000 --- a/patches/cpufrequtils-007/series +++ /dev/null @@ -1 +0,0 @@ -build-system-fix.diff -- 1.7.7 -- ptxdist mailing list [email protected]
