[Buildroot] [PATCH v2] knock: Fix build failure due to missing README file.

Baruch Siach baruch at tkos.co.il
Thu Dec 12 12:19:06 UTC 2013


Hi Vicente,

On Thu, Dec 12, 2013 at 12:07:52PM +0000, Vicente Olivert Riera wrote:
> Apply upstream patch: 306a696c0882f28a5cd2e41d392c3a6ed14d45f4
> 
> The build process fails because Makefile.am includes README as part of
> the documentation files, but actually it doesn't exist:
> 
> make[2]: *** No rule to make target `README', needed by `all-am'. Stop.
> 
> The right file is README.md, so making that replacement to Makefile.am
> fixes the problem.
> 
> Reviewed-by: Markos Chandras <Markos.Chandras at imgtec.com>
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera at imgtec.com>
> ---
>  .../knock/knock-001-Fix-missing-README-file.patch  |   32 ++++++++++++++++++++
>  1 files changed, 32 insertions(+), 0 deletions(-)
>  create mode 100644 package/knock/knock-001-Fix-missing-README-file.patch
> 
> diff --git a/package/knock/knock-001-Fix-missing-README-file.patch b/package/knock/knock-001-Fix-missing-README-file.patch
> new file mode 100644
> index 0000000..ea0a779
> --- /dev/null
> +++ b/package/knock/knock-001-Fix-missing-README-file.patch
> @@ -0,0 +1,32 @@
> +From 306a696c0882f28a5cd2e41d392c3a6ed14d45f4 Mon Sep 17 00:00:00 2001
> +From: vriera <Vincent.Riera at imgtec.com>
> +Date: Tue, 10 Dec 2013 12:40:13 +0000
> +Subject: [PATCH] Update Makefile.am
> +
> +Fix build failure due to missing README file.
> +
> +The build process fails because Makefile.am includes README as part of the documentation files, but actually it doesn't exist:
> +
> +make[2]: *** No rule to make target `README', needed by `all-am'. Stop.
> +
> +The right file is README.md, so making that replacement to Makefile.am fixes the problem.

We need your sing-off on the added patch as well.

baruch

> +---
> + Makefile.am | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/Makefile.am b/Makefile.am
> +index b46e8c4..1a95e90 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -10,7 +10,7 @@ man_MANS += doc/knockd.1
> + sysconf_DATA = knockd.conf
> + endif
> + 
> +-dist_doc_DATA = README TODO ChangeLog COPYING
> ++dist_doc_DATA = README.md TODO ChangeLog COPYING
> + 
> + knock_SOURCES = src/knock.c
> + knockd_SOURCES = src/knockd.c src/list.c src/list.h
> +-- 
> +1.8.5.1
> +
> -- 

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the buildroot mailing list