summaryrefslogtreecommitdiff
path: root/packages/maemo/tscalib/makefile.patch
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2005-07-01 20:51:02 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-01 20:51:02 +0000
commit6dde4d5dfdfba8b7fe16db6572059ad9bf5ae921 (patch)
treeccac5580ad317c2ebe42b6782fca756adcb53f03 /packages/maemo/tscalib/makefile.patch
parentc0c13ed4c933845dc25fdb387774da8f476875aa (diff)
Add several utility applications for maemo images.
Diffstat (limited to 'packages/maemo/tscalib/makefile.patch')
-rw-r--r--packages/maemo/tscalib/makefile.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/maemo/tscalib/makefile.patch b/packages/maemo/tscalib/makefile.patch
new file mode 100644
index 0000000000..7bfab4f142
--- /dev/null
+++ b/packages/maemo/tscalib/makefile.patch
@@ -0,0 +1,24 @@
+--- Makefile.orig 2005-06-20 18:44:26.000000000 +0200
++++ Makefile 2005-06-20 18:43:56.000000000 +0200
+@@ -1,6 +1,4 @@
+
+-CC = gcc
+-CFLAGS = -Os
+ LIBS = -lts
+ PREFIX = /usr/local
+
+@@ -20,11 +18,11 @@
+ rm -rf $(OBJECTS) $(TARGET) .depends
+
+ install: $(TARGET)
+- install -d -m 755 $(PREFIX)/bin
+- install -c -m 755 $(TARGET) $(PREFIX)/bin/$(TARGET)
++ install -d -m 755 $(DESTDIR)/$(PREFIX)/bin
++ install -c -m 755 $(TARGET) $(DESTDIR)/$(PREFIX)/bin/$(TARGET)
+
+ .depends:
+- $(CC) -MM $(SOURCES) > .depends
++ $(CC) -MM $(CFLAGS) $(SOURCES) > .depends
+
+
+ -include .depends