package/byacc: add new host package
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello Thomas,
Thanks for your contribution. The commit title should be just "package/byacc: new package". See below for more comments.
Quoted 10 lines · On Fri, 15 Apr 2022 18:52:39 +0200 Thomas Perrot <[email protected]>…
This package provides a Berkeley LALR Yacc parser generator that has been use by i.MX Code Signing tool.
Signed-off-by Thomas Perrot <[email protected]>--- package/Config.in.host | 1 + package/byacc/Config.in.host | 10 ++++++++++ package/byacc/byacc.hash | 3 +++ package/byacc/byacc.mk | 16 ++++++++++++++++ 4 files changed, 30 insertions(+)
You forgot to add an entry in the DEVELOPERS file for this new package.
package/Config.in.host menu "Host utilities" · line 10
Quoted 13 lines
create mode 100644 package/byacc/Config.in.host create mode 100644 package/byacc/byacc.hash create mode 100644 package/byacc/byacc.mkpackage/Config.in.host +1
-0@@ -7,6 +7,7 @@ menu "Host utilities" source "package/babeltrace2/Config.in.host" source "package/bmap-tools/Config.in.host" source "package/btrfs-progs/Config.in.host" + source "package/byacc/Config.in.host"
This is not needed. This tool is merely a build dependency of imx-cst, so we don't need a visible entry in menuconfig. Look at package/bison/:
it doesn't have a visible menuconfig entry.
Quoted 15 lines
package/byacc/byacc.hash new file +3
-0@@ -0,0 +1,3 @@ +# Locally calculated +sha256 42c1805cc529314e6a76326fe1b33e80c70862a44b01474da362e2f7db2d749c byacc-20220128.tgz +sha256 654a231fe9cd4d36e580214962fa777a1df0771d6889cfc74d19a3d414f14711 LICENSEpackage/byacc/byacc.mk new file +0
-0
package/byacc/byacc.mk line 8
Quoted 8 lines
package/byacc/byacc.mk new file +8
-0@@ -0,0 +1,16 @@ +################################################################################ +# +# byacc +# +################################################################################ + +BYACC_SITE = https://invisible-mirror.net/archives/byacc +BYACC_SITE_METHOD = https
Specifying the site method here is not needed.
package/byacc/byacc.mk line 11
Quoted 3 lines
package/byacc/byacc.mk new file +3
-0+BYACC_VERSION = 20220128 +BYACC_SOURCE = byacc-$(BYACC_VERSION).tgz +BYACC_LICENSE = PD
It seems like we normally use "Public Domain" and not "PD".
package/byacc/byacc.mk line 14
Quoted 3 lines
package/byacc/byacc.mk new file +3
-0+BYACC_LICENSE_FILES = LICENSE + +HOST_BYACC_CONF_OPTS += --program-transform-name='s,^,b,'
+= not needed, a = is sufficient here. However, a comment above this line would be appreciated, as it's not obvious why you're doing this.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot