From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from gallifrey.ext.pengutronix.de ([2001:6f8:1178:4:5054:ff:fe8d:eefb] helo=localhost) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SlcEE-0007fj-OZ for ptxdist@pengutronix.de; Mon, 02 Jul 2012 10:43:30 +0200 From: Juergen Beisert Date: Mon, 2 Jul 2012 10:43:26 +0200 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201207021043.27039.jbe@pengutronix.de> Subject: [ptxdist] Nanocom: fix its broken buildsystem Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Juergen Beisert 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 +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 +--- + 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