Commit 38dabc6e authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

bison: remove deprecated target package



It's been deprecated for a year now so remove the target variant.

Signed-off-by: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 7f9d4441
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -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"

package/bison/Config.in

deleted100644 → 0
+0 −19
Original line number Diff line number Diff line
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
+0 −9
Original line number Diff line number Diff line
@@ -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))