xref: /OK3568_Linux_fs/buildroot/package/linux-zigbee/0001-test-serial-Remove-test-serial.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 98187a5238939edc889fdaad93b00628b55d1e08 Mon Sep 17 00:00:00 2001
2From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
3Date: Sat, 3 May 2014 19:43:20 +0200
4Subject: [PATCH] test-serial: Remove test-serial
5
6This folders only contains python tests scripts which would force us to
7enable a dependency to host-python which seems kind of silly since
8theses are only tests scripts.
9
10Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
11---
12 Makefile.am  | 2 +-
13 configure.ac | 6 ------
14 2 files changed, 1 insertion(+), 7 deletions(-)
15
16diff --git a/Makefile.am b/Makefile.am
17index 265f0d7..e7bb1a1 100644
18--- a/Makefile.am
19+++ b/Makefile.am
20@@ -2,7 +2,7 @@ include $(top_srcdir)/Makefile.common
21
22 ACLOCAL_AMFLAGS = -I m4
23
24-SUBDIRS = lib addrdb src tests test-serial
25+SUBDIRS = lib addrdb src tests
26
27 include_HEADERS = include/ieee802154.h include/nl802154.h
28 noinst_HEADERS = include/libcommon.h include/addrdb.h include/logging.h
29diff --git a/configure.ac b/configure.ac
30index 17658af..506b289 100644
31--- a/configure.ac
32+++ b/configure.ac
33@@ -77,11 +77,6 @@ AC_PROG_LIBTOOL
34 AM_PROG_LEX
35 AC_PROG_YACC
36 AC_SUBST(LIBTOOL_DEPS)
37-# Currently the scripts works with python2.x only
38-# Check for this at first
39-AC_PATH_PROG(PYTHON, python2 python2.7 python2.6 python2.5 python)
40-AM_PATH_PYTHON(,, [:])
41-py_CHECK_MAJOR_VERSION([PYTHON_VERSION], [2])
42 AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
43
44 # Checks for libraries.
45@@ -135,6 +130,5 @@ AC_CONFIG_FILES([
46 	addrdb/Makefile
47 	src/Makefile
48 	tests/Makefile
49-	test-serial/Makefile
50 ])
51 AC_OUTPUT
52--
531.9.2
54
55