[Buildroot] [PATCH 4/7] bison: remove deprecated target package
Gustavo Zacarias
gustavo at zacarias.com.ar
Thu Jan 15 14:30:19 UTC 2015
It's been deprecated for a year now so remove the target variant.
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
---
Config.in.legacy | 8 ++++++++
package/Config.in | 1 -
package/bison/Config.in | 19 -------------------
package/bison/bison.mk | 9 ---------
4 files changed, 8 insertions(+), 29 deletions(-)
delete mode 100644 package/bison/Config.in
diff --git a/Config.in.legacy b/Config.in.legacy
index 50591af..243416e 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -102,6 +102,14 @@ endif
comment "Legacy options removed in 2015.02"
+config BR2_PACKAGE_BISON
+ bool "bison target package removed"
+ select BR2_LEGACY
+ help
+ The bison target package has been removed, it's been
+ deprecated for some time now and is essentially a development
+ tool which isn't very useful in the target.
+
config BR2_PACKAGE_GOB2
bool "gob2 target package removed"
select BR2_LEGACY
diff --git a/package/Config.in b/package/Config.in
index d5e675c..9ab6a99 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -102,7 +102,6 @@ endmenu
menu "Development tools"
source "package/binutils/Config.in"
- source "package/bison/Config.in"
source "package/bsdiff/Config.in"
source "package/bustle/Config.in"
source "package/cppunit/Config.in"
diff --git a/package/bison/Config.in b/package/bison/Config.in
deleted file mode 100644
index 8d88430..0000000
--- a/package/bison/Config.in
+++ /dev/null
@@ -1,19 +0,0 @@
-config BR2_PACKAGE_BISON
- bool "bison"
- depends on BR2_USE_WCHAR
- select BR2_PACKAGE_M4
- # m4 uses fork()
- depends on BR2_USE_MMU
- # development tool, useless on the target
- depends on BR2_DEPRECATED_SINCE_2014_02
- help
- General-purpose parser generator that converts a
- grammar description for an LALR context-free grammar into a C
- program to parse that grammar.
-
- http://www.gnu.org/software/bison/
-
-comment "bison needs a toolchain w/ wchar"
- depends on BR2_DEPRECATED_SINCE_2014_02
- depends on BR2_USE_MMU
- depends on !BR2_USE_WCHAR
diff --git a/package/bison/bison.mk b/package/bison/bison.mk
index fdf87f6..c092b78 100644
--- a/package/bison/bison.mk
+++ b/package/bison/bison.mk
@@ -9,15 +9,6 @@ BISON_SOURCE = bison-$(BISON_VERSION).tar.xz
BISON_SITE = $(BR2_GNU_MIRROR)/bison
BISON_LICENSE = GPLv3+
BISON_LICENSE_FILES = COPYING
-BISON_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
-BISON_DEPENDENCIES = m4
BISON_AUTORECONF = YES
-define BISON_DISABLE_EXAMPLES
- echo 'all install:' > $(@D)/examples/Makefile
-endef
-
-BISON_POST_CONFIGURE_HOOKS += BISON_DISABLE_EXAMPLES
-
-$(eval $(autotools-package))
$(eval $(host-autotools-package))
--
2.0.5
More information about the buildroot
mailing list