aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/powertop/files
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-09-11 23:31:12 -0700
committerKhem Raj <raj.khem@gmail.com>2009-09-11 23:35:07 -0700
commit53c0673ba015ba400d4e18fef5c5903830a06c09 (patch)
tree2cce6ccdd94a0713614fc5c8b85b665287e47bcf /recipes/powertop/files
parentaa6a11a7168bf804925f78f9003920bce4b3a5e9 (diff)
downloadopenembedded-53c0673ba015ba400d4e18fef5c5903830a06c09.tar.gz
powertop: Make it compile on uclibc.
* Use INC_PR * Move common stuff to powertop.inc * Add -lint for uclibc bases systems * Add a patch to tinker with order of CFLAGS in commandline * Eliminate the sed expression in favor of a patch to substitute nsursesw with ncurses Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/powertop/files')
-rw-r--r--recipes/powertop/files/ldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/powertop/files/ldflags.patch b/recipes/powertop/files/ldflags.patch
new file mode 100644
index 0000000000..690d90f8f8
--- /dev/null
+++ b/recipes/powertop/files/ldflags.patch
@@ -0,0 +1,13 @@
+Index: powertop-1.11/Makefile
+===================================================================
+--- powertop-1.11.orig/Makefile 2008-12-30 10:52:54.000000000 -0800
++++ powertop-1.11/Makefile 2009-09-11 19:46:19.550388421 -0700
+@@ -20,7 +20,7 @@
+
+
+ powertop: $(OBJS) Makefile powertop.h
+- $(CC) ${CFLAGS} $(OBJS) -lncursesw -o powertop
++ $(CC) $(OBJS) ${CFLAGS} -lncurses -o powertop
+ @(cd po/ && $(MAKE))
+
+ powertop.1.gz: powertop.1