diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2012-07-02 10:43:26 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-07-02 13:26:23 +0200 |
commit | 9a0ed016b33d66b95ad2932168386ffd0365d2e8 (patch) | |
tree | 79791c5bbf97154ef91e0a92ae61774a0efecf92 /patches/nanocom-1.0 | |
parent | 05fccfa7c925d893eef8cf18001c70645e081a56 (diff) | |
download | ptxdist-9a0ed016b33d66b95ad2932168386ffd0365d2e8.tar.gz ptxdist-9a0ed016b33d66b95ad2932168386ffd0365d2e8.tar.xz |
Nanocom: fix its broken buildsystem
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/nanocom-1.0')
-rw-r--r-- | patches/nanocom-1.0/0001-Nanocom-fix-its-buildsystem.patch | 37 | ||||
-rw-r--r-- | patches/nanocom-1.0/series | 4 |
2 files changed, 41 insertions, 0 deletions
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 000000000..2e50eff3f --- /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 000000000..5314ad7bf --- /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 |