summaryrefslogtreecommitdiff
path: root/packages/maemo/tscalib/makefile.patch
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2005-07-01 18:15:49 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-01 18:15:49 +0000
commit615e7d157f3d9cf1e7af5e2084358b9f61d3daaf (patch)
tree9d55038c6c38a0e1c6a9d60109219a6adb49f69f /packages/maemo/tscalib/makefile.patch
parent1fda5f0233832ffa3c8adff3499b64ab3f7b7248 (diff)
parent0d7a6ee2b5a0abc79f17012cb9a6378f9fe583c9 (diff)
propagate from branch 'org.openembedded.nslu2-linux' (head dc8f56a8edee464ea68c6ca92ec8857113d9e468)
to branch 'org.openembedded.dev' (head a10d28cfd37d2402e42c0f2c022ce4d4c65dbb95)
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