[PATCH] compile with kernel 3.9.7 stops with error

Jörg Esser <[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <[email protected]>
From: Joerg Esser <[email protected]>

cat .patchOk -> File not found
added some test glue if no patch was applied.
---
  standalone/Makefile.in |    6 +++++-
  1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/standalone/Makefile.in b/standalone/Makefile.in
index 0d1fd77..d830981 100644
--- a/standalone/Makefile.in
+++ b/standalone/Makefile.in
@@ -135,7 +135,11 @@ patched_tree: unpatched_tree
  	else \
  		echo "no series found"; \
  	fi
-	cat .patchOK
+	if test -f patchOK; then \
+	    cat .patchOK; \
+	else \
+	    echo "no patches applied"; \
+	fi
   unpatched_tree: clean_tree
  	$(MAKE) btree
-- 
1.7.10.4


-- 
Gruss, Joerg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.