mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Beisert <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] Nanocom: fix its broken buildsystem
Date: Mon, 2 Jul 2012 10:43:26 +0200	[thread overview]
Message-ID: <201207021043.27039.jbe@pengutronix.de> (raw)

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

                 reply	other threads:[~2012-07-02  8:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201207021043.27039.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox