8cd9d754c0d4ee4b087e329556c7668d37aea52a
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / linux-zigbee / 0001-test-serial-Remove-test-serial.patch
1 From 98187a5238939edc889fdaad93b00628b55d1e08 Mon Sep 17 00:00:00 2001
2 From: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
3 Date: Sat, 3 May 2014 19:43:20 +0200
4 Subject: [PATCH] test-serial: Remove test-serial
5
6 This folders only contains python tests scripts which would force us to
7 enable a dependency to host-python which seems kind of silly since
8 theses are only tests scripts.
9
10 Signed-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
16 diff --git a/Makefile.am b/Makefile.am
17 index 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
29 diff --git a/configure.ac b/configure.ac
30 index 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 -- 
53 1.9.2
54