summaryrefslogtreecommitdiff
path: root/packages/gpephone/gsmmux
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-02-07 10:04:04 +0000
committerKoen Kooi <koen@openembedded.org>2007-02-07 10:04:04 +0000
commit38a94e6cb8f772f29ebf8e25e1fe5cb34711d324 (patch)
treec2a8332a723fed2ff05fb095f73e03c4b2b26818 /packages/gpephone/gsmmux
parent4fcd37c8af2c23d84fab538eb08d2b14134af8cc (diff)
gpephone: add recipes from http://linuxtogo.org/~florian/gpepe/
* They still need to be run through oe-stylize.py * things like linphone need to get merged with their original counterparts in OE
Diffstat (limited to 'packages/gpephone/gsmmux')
-rw-r--r--packages/gpephone/gsmmux/.mtn2git_empty0
-rw-r--r--packages/gpephone/gsmmux/gsmmux-makefile.patch28
2 files changed, 28 insertions, 0 deletions
diff --git a/packages/gpephone/gsmmux/.mtn2git_empty b/packages/gpephone/gsmmux/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gpephone/gsmmux/.mtn2git_empty
diff --git a/packages/gpephone/gsmmux/gsmmux-makefile.patch b/packages/gpephone/gsmmux/gsmmux-makefile.patch
new file mode 100644
index 0000000000..66ac085f1d
--- /dev/null
+++ b/packages/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