Pārlūkot izejas kodu

bison: remove deprecated target package

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias 10 gadi atpakaļ
vecāks
revīzija
38dabc6e9b
4 mainītis faili ar 8 papildinājumiem un 29 dzēšanām
  1. 8 0
      Config.in.legacy
  2. 0 1
      package/Config.in
  3. 0 19
      package/bison/Config.in
  4. 0 9
      package/bison/bison.mk

+ 8 - 0
Config.in.legacy

@@ -102,6 +102,14 @@ endif
 
 
 comment "Legacy options removed in 2015.02"
 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
 config BR2_PACKAGE_GOB2
 	bool "gob2 target package removed"
 	bool "gob2 target package removed"
 	select BR2_LEGACY
 	select BR2_LEGACY

+ 0 - 1
package/Config.in

@@ -102,7 +102,6 @@ endmenu
 
 
 menu "Development tools"
 menu "Development tools"
 	source "package/binutils/Config.in"
 	source "package/binutils/Config.in"
-	source "package/bison/Config.in"
 	source "package/bsdiff/Config.in"
 	source "package/bsdiff/Config.in"
 	source "package/bustle/Config.in"
 	source "package/bustle/Config.in"
 	source "package/cppunit/Config.in"
 	source "package/cppunit/Config.in"

+ 0 - 19
package/bison/Config.in

@@ -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

+ 0 - 9
package/bison/bison.mk

@@ -9,15 +9,6 @@ BISON_SOURCE = bison-$(BISON_VERSION).tar.xz
 BISON_SITE = $(BR2_GNU_MIRROR)/bison
 BISON_SITE = $(BR2_GNU_MIRROR)/bison
 BISON_LICENSE = GPLv3+
 BISON_LICENSE = GPLv3+
 BISON_LICENSE_FILES = COPYING
 BISON_LICENSE_FILES = COPYING
-BISON_CONF_ENV = ac_cv_path_M4=/usr/bin/m4
-BISON_DEPENDENCIES = m4
 BISON_AUTORECONF = YES
 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))
 $(eval $(host-autotools-package))