Skip to contentSkip to conversation

package: deprecate some more development tools

PATCH New Thomas Petazzoni 2 participants 3 messages Dec 27, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package: deprecate some more development tools

Since some time, we have removed the support to build a toolchain for the target, and therefore the support for several development tools on the target.

This commit deprecates a few additional development tools: m4, bison, flex and gob2. For flex, we retain the ability to build libfl, we only deprecated the ability to build the flex binary itself.

The original motivation for this patch is that m4 is causing build issues in some configurations, but there isn't really much incentive to fix this package for the target, since it is not really useful for embedded Linux systems.

Bison, Flex and Gob2 are deprecated because they are reverse dependencies of m4.

---
 package/bison/Config.in | 2 ++
 package/flex/Config.in  | 2 ++
 package/gob2/Config.in  | 2 ++
 package/m4/Config.in    | 2 ++
 4 files changed, 8 insertions(+)
package/bison/Config.in +2 -0
index 4a50f41..cd0dbc4 100644
@@ -4,6 +4,8 @@ config BR2_PACKAGE_BISON
 	select BR2_PACKAGE_M4
 	# m4 uses fork()
 	depends on BR2_USE_MMU
+	# development tool, useless on the target
+	depends on BR2_DEPRECATED
 	help
 	  General-purpose parser generator that converts a
 	  grammar description for an LALR context-free grammar into a C
package/flex/Config.in +2 -0
index 52f7fe7..6af9951 100644
@@ -15,6 +15,8 @@ config BR2_PACKAGE_FLEX_BINARY
 	depends on BR2_USE_MMU
 	# runtime dependency
 	select BR2_PACKAGE_M4
+	# development tool, useless on the target
+	depends on BR2_DEPRECATED
 	depends on BR2_USE_WCHAR # m4
 	help
 	  Install the flex binary tool in the target filesystem.
package/gob2/Config.in +2 -0
index 092d51b..faeb8b3 100644
@@ -6,6 +6,8 @@ config BR2_PACKAGE_GOB2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_FLEX
 	select BR2_PACKAGE_BISON
+	# development tool, useless on the target
+	depends on BR2_DEPRECATED
 	help
 	  GOB (GTK+ Object Builder) is a preprocessor which simplifies
 	  the writing of GObjects in C.
package/m4/Config.in +2 -0
index 4d651a2..7830b22 100644
@@ -3,6 +3,8 @@ config BR2_PACKAGE_M4
 	depends on BR2_USE_WCHAR
 	# uses fork()
 	depends on BR2_USE_MMU
+	# development tool, useless on the target
+	depends on BR2_DEPRECATED
 	help
 	  An implementation of the traditional Unix macro processor.
 
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 package: deprecate some more development tools

Thomas, All,

On 2013-12-27 12:50 +0100, Thomas Petazzoni spake thusly:

Quoted 13 lines

Since some time, we have removed the support to build a toolchain for the target, and therefore the support for several development tools on the target.

This commit deprecates a few additional development tools: m4, bison, flex and gob2. For flex, we retain the ability to build libfl, we only deprecated the ability to build the flex binary itself.

The original motivation for this patch is that m4 is causing build issues in some configurations, but there isn't really much incentive to fix this package for the target, since it is not really useful for embedded Linux systems.

Quoted 4 lines

Bison, Flex and Gob2 are deprecated because they are reverse dependencies of m4.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
author Applied
#2 lore raw

PATCH 1/1 package: deprecate some more development tools

In reply to Thomas Petazzoni

Dear Thomas Petazzoni,

Quoted 16 lines · Thomas Petazzoni

Since some time, we have removed the support to build a toolchain for the target, and therefore the support for several development tools on the target.

This commit deprecates a few additional development tools: m4, bison, flex and gob2. For flex, we retain the ability to build libfl, we only deprecated the ability to build the flex binary itself.

The original motivation for this patch is that m4 is causing build issues in some configurations, but there isn't really much incentive to fix this package for the target, since it is not really useful for embedded Linux systems.

Bison, Flex and Gob2 are deprecated because they are reverse dependencies of m4.

Quoted 7 lines
---
 package/bison/Config.in | 2 ++
 package/flex/Config.in  | 2 ++
 package/gob2/Config.in  | 2 ++
 package/m4/Config.in    | 2 ++
 4 files changed, 8 insertions(+)

Applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com