summaryrefslogtreecommitdiffstats
path: root/patches/cpufrequtils-007
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2010-05-21 23:36:27 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2010-05-25 12:45:27 +0200
commit7b03e5fa3e578f14c863e98aba3d15f6760d2d4d (patch)
treece8f400366694cafb4c0f9d945a9b4596dd24d84 /patches/cpufrequtils-007
parente89c540b93ae08a8d9fca39ef65b3e3dec5a4c90 (diff)
downloadptxdist-7b03e5fa3e578f14c863e98aba3d15f6760d2d4d.tar.gz
ptxdist-7b03e5fa3e578f14c863e98aba3d15f6760d2d4d.tar.xz
[cpufrequtils] version bump 006 -> 007
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'patches/cpufrequtils-007')
-rw-r--r--patches/cpufrequtils-007/build-system-fix.diff38
-rw-r--r--patches/cpufrequtils-007/series1
2 files changed, 39 insertions, 0 deletions
diff --git a/patches/cpufrequtils-007/build-system-fix.diff b/patches/cpufrequtils-007/build-system-fix.diff
new file mode 100644
index 000000000..7827ab4a0
--- /dev/null
+++ b/patches/cpufrequtils-007/build-system-fix.diff
@@ -0,0 +1,38 @@
+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
new file mode 100644
index 000000000..163fc15a2
--- /dev/null
+++ b/patches/cpufrequtils-007/series
@@ -0,0 +1 @@
+build-system-fix.diff