mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Nanocom: fix its broken buildsystem
@ 2012-07-02  8:43 Juergen Beisert
  0 siblings, 0 replies; only message in thread
From: Juergen Beisert @ 2012-07-02  8:43 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Juergen Beisert <jbe@pengutronix.de>

diff --git a/patches/nanocom-1.0/0001-Nanocom-fix-its-buildsystem.patch b/patches/nanocom-1.0/0001-Nanocom-fix-its-buildsystem.patch
new file mode 100644
index 0000000..2e50eff
--- /dev/null
+++ b/patches/nanocom-1.0/0001-Nanocom-fix-its-buildsystem.patch
@@ -0,0 +1,37 @@
+From: Juergen Beisert <jbe@pengutronix.de>
+Date: Mon, 2 Jul 2012 10:36:35 +0200
+Subject: [PATCH] Nanocom: fix its buildsystem
+
+This existing Makefile tries to be smarter than Make is. And it fails badly.
+ - it is not able to compile twice
+ - it does not honor external flags, nor does it list the binaries sources for
+   dependency detection
+
+Signed-off.by: Juergen Beisert <jbe@pengutronix.de>
+---
+ Makefile |   10 ++++------
+ 1 files changed, 4 insertions(+), 6 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index df28d22..1ef2aed 100644
+--- a/Makefile
++++ b/Makefile
+@@ -12,13 +12,11 @@
+ #** GNU General Public License for more details at www.gnu.org
+ #****************************************************************************/
+ 
+-CC=gcc
++all: nanocom
+ 
+-all: clean nanocom
++nanocom: mux.c menu.c nanocom.c
+ 
+-nanocom: 
+-	$(CC) mux.c nanocom.c menu.c -o nanocom
+-    
+ clean:
+ 	rm -rf *.o nanocom
+-    
+\ No newline at end of file
++
++.PHONY: all clean
diff --git a/patches/nanocom-1.0/series b/patches/nanocom-1.0/series
new file mode 100644
index 0000000..5314ad7
--- /dev/null
+++ b/patches/nanocom-1.0/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-Nanocom-fix-its-buildsystem.patch
+# e6ac4f301256655d216f4f37323e0a80  - git-ptx-patches magic

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-02  8:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-02  8:43 [ptxdist] Nanocom: fix its broken buildsystem Juergen Beisert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox