summaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/gpephone/gsmmux/gsmmux-makefile.patch
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2010-09-13 14:15:35 -0400
committerCliff Brake <cbrake@bec-systems.com>2010-09-13 14:15:35 -0400
commit4ee358534793381d2e87b01781079a3354fd5c1c (patch)
tree729f8b0ce4bdbcd8a16f561fb68da0d66c3a3eb8 /recipes/obsolete/gpephone/gsmmux/gsmmux-makefile.patch
parentbeb17e26ee9b4bc0cf334c3b30560c6eb66b1299 (diff)
parenteda06ec3dde6169a46797f876a82499c4fff8f62 (diff)
downloadopenembedded-324a7c75ac7f591e950836686bfe14332ce6586b.tar.gz
Merge branch 'org.openembedded.dev' into testing-nexttesting_2010-09-13
Diffstat (limited to 'recipes/obsolete/gpephone/gsmmux/gsmmux-makefile.patch')
-rw-r--r--recipes/obsolete/gpephone/gsmmux/gsmmux-makefile.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/obsolete/gpephone/gsmmux/gsmmux-makefile.patch b/recipes/obsolete/gpephone/gsmmux/gsmmux-makefile.patch
new file mode 100644
index 0000000000..66ac085f1d
--- /dev/null
+++ b/recipes/obsolete/gpephone/gsmmux/gsmmux-makefile.patch
@@ -0,0 +1,28 @@
+--- Makefile.orig 2007-02-04 15:34:43.000000000 +0100
++++ Makefile 2007-02-04 15:36:58.000000000 +0100
+@@ -5,9 +5,7 @@
+ SRC = gsm0710.c buffer.c
+ OBJS = gsm0710.o buffer.o
+
+-CC = gcc
+-LD = gcc
+-CFLAGS = -Wall
++PACKAGE_CFLAGS = -Wall
+ LDLIBS = -lm
+
+ ifeq ($(DEBUG),y)
+@@ -21,9 +19,13 @@
+ rm -f $(OBJS) $(TARGET)
+
+ %.o: %.c
+- $(CC) $(CFLAGS) -c -o $@ $<
++ $(CC) $(CFLAGS) $(PACKAGE_CFLAGS) -c -o $@ $<
+
+ $(TARGET): $(OBJS)
+ $(LD) $(LDLIBS) -o $@ $(OBJS)
+
++install: $(TARGET)
++ install -d $(DESTDIR)/$(PREFIX)/bin
++ install -m 755 $(TARGET) $(DESTDIR)/$(PREFIX)/bin
++
+ .PHONY: all clean