summaryrefslogtreecommitdiff
path: root/recipes/comprec/comprec-0.02/makefile.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/comprec/comprec-0.02/makefile.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/comprec/comprec-0.02/makefile.patch')
-rw-r--r--recipes/comprec/comprec-0.02/makefile.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/recipes/comprec/comprec-0.02/makefile.patch b/recipes/comprec/comprec-0.02/makefile.patch
new file mode 100644
index 0000000000..9693351aa9
--- /dev/null
+++ b/recipes/comprec/comprec-0.02/makefile.patch
@@ -0,0 +1,51 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- comprec-0.02/Makefile~makefile 2003-02-16 16:53:11.000000000 -0500
++++ comprec-0.02/Makefile 2004-03-04 03:38:50.000000000 -0500
+@@ -1,12 +1,15 @@
+-ZROOT=/home/zaurus/develop
+-CC_NATIVE=gcc
+-CC=$(ZROOT)/arm/bin/arm-linux-gcc
+-AS=$(ZROOT)/arm/bin/arm-v4l-linux-as
+-STRIP=$(ZROOT)/arm/bin/arm-v4l-linux-strip
++BUILD_CC=gcc
++CC=$(BUILD_CC)
++AS=as
++LD=ld
++STRIP=strip
+ IPKG_BUILD=./ipkg-build
+
+-CFLAGS+=-Wall -O2 -fno-exceptions -g
+-LDFLAGS+=-lm -g
++CFLAGS=-Wall -O2 -fno-exceptions
++LDFLAGS=
++LIBS=-lm
++BUILD_CFLAGS=$(CFLAGS)
++BUILD_LDFLAGS=$(LDFLAGS)
+
+ VERSION=0.02
+
+@@ -22,17 +25,17 @@
+ comprec0.png comprec.desktop
+
+ shine: table1.h table2.h $(OBJECTS)
+- $(CC) -o $@ $(OBJECTS) $(LDFLAGS)
++ $(CC) -o $@ $(LDFLAGS) $(LIBS) $(OBJECTS)
+ $(STRIP) $@
+
+ Maindlg.py: Maindlg.ui
+ pyuic Maindlg.ui > Maindlg.py
+
+ table1.h table2.h: tables
+- tables
++ ./tables
+
+ tables: tables.c
+- $(CC_NATIVE) -o $@ $(CFLAGS) $< -lm
++ $(BUILD_CC) -o $@ $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $(LIBS) $<
+
+ clean:
+ rm -f $(OBJECTS) shine .depend