* [Buildroot] [PATCH 1/2] unifdef: add missing license
@ 2023-09-19 17:22 Brandon Maier via buildroot
2023-09-19 17:23 ` [Buildroot] [PATCH 2/2] unifdef: add target package Brandon Maier via buildroot
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Brandon Maier via buildroot @ 2023-09-19 17:22 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Devoogdt, Brandon Maier, Thomas Petazzoni
The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause
applies to "manual page unifdef.1 and the portability support code in
the FreeBSD subdirectory". The BSD-2-Clause applies to everything else.
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
---
package/unifdef/unifdef.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk
index 7d10595d1b..fd74455894 100644
--- a/package/unifdef/unifdef.mk
+++ b/package/unifdef/unifdef.mk
@@ -6,7 +6,7 @@
UNIFDEF_VERSION = 2.12
UNIFDEF_SITE = https://dotat.at/prog/unifdef
-UNIFDEF_LICENSE = BSD-2-Clause
+UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
UNIFDEF_LICENSE_FILES = COPYING
define HOST_UNIFDEF_BUILD_CMDS
--
2.41.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2/2] unifdef: add target package
2023-09-19 17:22 [Buildroot] [PATCH 1/2] unifdef: add missing license Brandon Maier via buildroot
@ 2023-09-19 17:23 ` Brandon Maier via buildroot
2023-09-21 8:08 ` Thomas Devoogdt
2023-09-21 7:53 ` [Buildroot] [PATCH 1/2] unifdef: add missing license Thomas Devoogdt
2023-09-28 0:27 ` [Buildroot] [PATCH v2 " Brandon Maier via buildroot
2 siblings, 1 reply; 11+ messages in thread
From: Brandon Maier via buildroot @ 2023-09-19 17:23 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Devoogdt, Brandon Maier, Thomas Petazzoni
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/unifdef/Config.in | 9 +++++++++
package/unifdef/unifdef.mk | 9 +++++++++
4 files changed, 20 insertions(+)
create mode 100644 package/unifdef/Config.in
diff --git a/DEVELOPERS b/DEVELOPERS
index e8b78a8d46..defeb502ab 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -513,6 +513,7 @@ F: package/iftop/
F: package/ncdu/
N: Brandon Maier <brandon.maier@collins.com>
+F: package/unifdef/
F: package/vmtouch/
N: Brock Williams <brock@cottonwoodcomputer.com>
diff --git a/package/Config.in b/package/Config.in
index e8dbadadf3..1cf147c0fa 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2267,6 +2267,7 @@ menu "Miscellaneous"
source "package/shared-mime-info/Config.in"
source "package/sunwait/Config.in"
source "package/taskd/Config.in"
+ source "package/unifdef/Config.in"
source "package/wine/Config.in"
source "package/xmrig/Config.in"
source "package/xutil_util-macros/Config.in"
diff --git a/package/unifdef/Config.in b/package/unifdef/Config.in
new file mode 100644
index 0000000000..a1a44d9f5a
--- /dev/null
+++ b/package/unifdef/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_UNIFDEF
+ bool "unifdef"
+ help
+ The unifdef utility selectively processes conditional C
+ preprocessor #if and #ifdef directives. It removes from a file
+ both the #directives and the additional text that they
+ delimit, while otherwise leaving the file alone.
+
+ http://dotat.at/prog/unifdef/
diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk
index fd74455894..6761e32b69 100644
--- a/package/unifdef/unifdef.mk
+++ b/package/unifdef/unifdef.mk
@@ -9,6 +9,14 @@ UNIFDEF_SITE = https://dotat.at/prog/unifdef
UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
UNIFDEF_LICENSE_FILES = COPYING
+define UNIFDEF_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define UNIFDEF_INSTALL_TARGET_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR) install
+endef
+
define HOST_UNIFDEF_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
@@ -17,4 +25,5 @@ define HOST_UNIFDEF_INSTALL_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
endef
+$(eval $(generic-package))
$(eval $(host-generic-package))
--
2.41.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Buildroot] [PATCH 1/2] unifdef: add missing license
2023-09-19 17:22 [Buildroot] [PATCH 1/2] unifdef: add missing license Brandon Maier via buildroot
2023-09-19 17:23 ` [Buildroot] [PATCH 2/2] unifdef: add target package Brandon Maier via buildroot
@ 2023-09-21 7:53 ` Thomas Devoogdt
2023-09-28 0:27 ` [Buildroot] [PATCH v2 " Brandon Maier via buildroot
2 siblings, 0 replies; 11+ messages in thread
From: Thomas Devoogdt @ 2023-09-21 7:53 UTC (permalink / raw)
To: Brandon Maier; +Cc: Thomas Devoogdt, Thomas Petazzoni, buildroot
> The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause
> applies to "manual page unifdef.1 and the portability support code in
> the FreeBSD subdirectory". The BSD-2-Clause applies to everything else.
>
> Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Reviewed-by: Thomas Devoogdt <thomas@devoogdt.com>
> ---
> package/unifdef/unifdef.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk
> index 7d10595d1b..fd74455894 100644
> --- a/package/unifdef/unifdef.mk
> +++ b/package/unifdef/unifdef.mk
> @@ -6,7 +6,7 @@
>
> UNIFDEF_VERSION = 2.12
> UNIFDEF_SITE = https://dotat.at/prog/unifdef
> -UNIFDEF_LICENSE = BSD-2-Clause
> +UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
> UNIFDEF_LICENSE_FILES = COPYING
>
> define HOST_UNIFDEF_BUILD_CMDS
> --
> 2.41.0
>
>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Buildroot] [PATCH 2/2] unifdef: add target package
2023-09-19 17:23 ` [Buildroot] [PATCH 2/2] unifdef: add target package Brandon Maier via buildroot
@ 2023-09-21 8:08 ` Thomas Devoogdt
2023-09-21 17:00 ` [Buildroot] [External] " Maier, Brandon L Collins via buildroot
0 siblings, 1 reply; 11+ messages in thread
From: Thomas Devoogdt @ 2023-09-21 8:08 UTC (permalink / raw)
To: Brandon Maier; +Cc: Thomas Devoogdt, Thomas Petazzoni, buildroot
Hi Brandon, All,
Is there a specific package, or reason why you need unifdef to be
installed to the target? It's a host utility, used e.g. to build
WebKit, but I don't see why it is useful on a target. Further, I would
move it to the "Development tools" section, not to "Miscellaneous".
Kind regards,
Thomas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Buildroot] [External] Re: [PATCH 2/2] unifdef: add target package
2023-09-21 8:08 ` Thomas Devoogdt
@ 2023-09-21 17:00 ` Maier, Brandon L Collins via buildroot
0 siblings, 0 replies; 11+ messages in thread
From: Maier, Brandon L Collins via buildroot @ 2023-09-21 17:00 UTC (permalink / raw)
To: Thomas Devoogdt; +Cc: Thomas Petazzoni, buildroot@buildroot.org
Hello Thomas,
> -----Original Message-----
> From: Thomas Devoogdt <thomas@devoogdt.com>
> Sent: Thursday, September 21, 2023 3:09 AM
> To: Maier, Brandon L Collins <Brandon.Maier@collins.com>
> Cc: buildroot@buildroot.org; Thomas Petazzoni
> <thomas.petazzoni@bootlin.com>; Thomas Devoogdt
> <thomas@devoogdt.com>
> Subject: [External] Re: [PATCH 2/2] unifdef: add target package
>
> Hi Brandon, All,
>
> Is there a specific package, or reason why you need unifdef to be
> installed to the target? It's a host utility, used e.g. to build
> WebKit, but I don't see why it is useful on a target.
Our application team uses it to preprocess some configuration files on target, so they can ship one config that is mostly the same and load the correct one at runtime. We've had target unifdef in our BR2_EXTERNAL, but now it causes issues because the same package name is in Buildroot. Since there is now host support upstream, figured it wouldn't hurt to add target support too.
> Further, I would
> move it to the "Development tools" section, not to "Miscellaneous".
That makes sense, I'll send a v2 with that.
Thanks,
Brandon
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 1/2] unifdef: add missing license
2023-09-19 17:22 [Buildroot] [PATCH 1/2] unifdef: add missing license Brandon Maier via buildroot
2023-09-19 17:23 ` [Buildroot] [PATCH 2/2] unifdef: add target package Brandon Maier via buildroot
2023-09-21 7:53 ` [Buildroot] [PATCH 1/2] unifdef: add missing license Thomas Devoogdt
@ 2023-09-28 0:27 ` Brandon Maier via buildroot
2023-09-28 0:27 ` [Buildroot] [PATCH v2 2/2] unifdef: add target package Brandon Maier via buildroot
` (2 more replies)
2 siblings, 3 replies; 11+ messages in thread
From: Brandon Maier via buildroot @ 2023-09-28 0:27 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Devoogdt, Brandon Maier, Thomas Petazzoni
The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause
applies to "manual page unifdef.1 and the portability support code in
the FreeBSD subdirectory". The BSD-2-Clause applies to everything else.
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Reviewed-by: Thomas Devoogdt <thomas@devoogdt.com>
---
Changes v1 -> v2:
- No changes
---
package/unifdef/unifdef.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk
index 7d10595d1b..fd74455894 100644
--- a/package/unifdef/unifdef.mk
+++ b/package/unifdef/unifdef.mk
@@ -6,7 +6,7 @@
UNIFDEF_VERSION = 2.12
UNIFDEF_SITE = https://dotat.at/prog/unifdef
-UNIFDEF_LICENSE = BSD-2-Clause
+UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
UNIFDEF_LICENSE_FILES = COPYING
define HOST_UNIFDEF_BUILD_CMDS
--
2.41.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH v2 2/2] unifdef: add target package
2023-09-28 0:27 ` [Buildroot] [PATCH v2 " Brandon Maier via buildroot
@ 2023-09-28 0:27 ` Brandon Maier via buildroot
2023-09-28 19:04 ` Thomas Devoogdt
2023-09-28 20:44 ` Yann E. MORIN
2023-09-28 20:44 ` [Buildroot] [PATCH v2 1/2] unifdef: add missing license Yann E. MORIN
2023-10-01 18:28 ` Peter Korsgaard
2 siblings, 2 replies; 11+ messages in thread
From: Brandon Maier via buildroot @ 2023-09-28 0:27 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Devoogdt, Brandon Maier, Thomas Petazzoni
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
---
Change v1 -> v2:
- Move from Misc packages to Dev packages
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/unifdef/Config.in | 9 +++++++++
package/unifdef/unifdef.mk | 9 +++++++++
4 files changed, 20 insertions(+)
create mode 100644 package/unifdef/Config.in
diff --git a/DEVELOPERS b/DEVELOPERS
index e8b78a8d46..defeb502ab 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -513,6 +513,7 @@ F: package/iftop/
F: package/ncdu/
N: Brandon Maier <brandon.maier@collins.com>
+F: package/unifdef/
F: package/vmtouch/
N: Brock Williams <brock@cottonwoodcomputer.com>
diff --git a/package/Config.in b/package/Config.in
index e8dbadadf3..e70479059e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -201,6 +201,7 @@ menu "Development tools"
source "package/sed/Config.in"
source "package/subversion/Config.in"
source "package/tree/Config.in"
+ source "package/unifdef/Config.in"
source "package/yasm/Config.in"
endmenu
diff --git a/package/unifdef/Config.in b/package/unifdef/Config.in
new file mode 100644
index 0000000000..a1a44d9f5a
--- /dev/null
+++ b/package/unifdef/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_UNIFDEF
+ bool "unifdef"
+ help
+ The unifdef utility selectively processes conditional C
+ preprocessor #if and #ifdef directives. It removes from a file
+ both the #directives and the additional text that they
+ delimit, while otherwise leaving the file alone.
+
+ http://dotat.at/prog/unifdef/
diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk
index fd74455894..6761e32b69 100644
--- a/package/unifdef/unifdef.mk
+++ b/package/unifdef/unifdef.mk
@@ -9,6 +9,14 @@ UNIFDEF_SITE = https://dotat.at/prog/unifdef
UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
UNIFDEF_LICENSE_FILES = COPYING
+define UNIFDEF_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+define UNIFDEF_INSTALL_TARGET_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR) install
+endef
+
define HOST_UNIFDEF_BUILD_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
@@ -17,4 +25,5 @@ define HOST_UNIFDEF_INSTALL_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
endef
+$(eval $(generic-package))
$(eval $(host-generic-package))
--
2.41.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [Buildroot] [PATCH v2 2/2] unifdef: add target package
2023-09-28 0:27 ` [Buildroot] [PATCH v2 2/2] unifdef: add target package Brandon Maier via buildroot
@ 2023-09-28 19:04 ` Thomas Devoogdt
2023-09-28 20:44 ` Yann E. MORIN
1 sibling, 0 replies; 11+ messages in thread
From: Thomas Devoogdt @ 2023-09-28 19:04 UTC (permalink / raw)
To: Brandon Maier; +Cc: Thomas Devoogdt, Thomas Petazzoni, buildroot
[-- Attachment #1.1: Type: text/plain, Size: 2657 bytes --]
> Signed-off-by: Brandon Maier <brandon.maier@collins.com>
>
Reviewed-by: Thomas Devoogdt <thomas@devoogdt.com>
> ---
> Change v1 -> v2:
> - Move from Misc packages to Dev packages
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/unifdef/Config.in | 9 +++++++++
> package/unifdef/unifdef.mk | 9 +++++++++
> 4 files changed, 20 insertions(+)
> create mode 100644 package/unifdef/Config.in
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index e8b78a8d46..defeb502ab 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -513,6 +513,7 @@ F: package/iftop/
> F: package/ncdu/
>
> N: Brandon Maier <brandon.maier@collins.com>
> +F: package/unifdef/
> F: package/vmtouch/
>
> N: Brock Williams <brock@cottonwoodcomputer.com>
> diff --git a/package/Config.in b/package/Config.in
> index e8dbadadf3..e70479059e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -201,6 +201,7 @@ menu "Development tools"
> source "package/sed/Config.in"
> source "package/subversion/Config.in"
> source "package/tree/Config.in"
> + source "package/unifdef/Config.in"
> source "package/yasm/Config.in"
> endmenu
>
> diff --git a/package/unifdef/Config.in b/package/unifdef/Config.in
> new file mode 100644
> index 0000000000..a1a44d9f5a
> --- /dev/null
> +++ b/package/unifdef/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_UNIFDEF
> + bool "unifdef"
> + help
> + The unifdef utility selectively processes conditional C
> + preprocessor #if and #ifdef directives. It removes from a file
> + both the #directives and the additional text that they
> + delimit, while otherwise leaving the file alone.
> +
> + http://dotat.at/prog/unifdef/
> diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk
> index fd74455894..6761e32b69 100644
> --- a/package/unifdef/unifdef.mk
> +++ b/package/unifdef/unifdef.mk
> @@ -9,6 +9,14 @@ UNIFDEF_SITE = https://dotat.at/prog/unifdef
> UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
> UNIFDEF_LICENSE_FILES = COPYING
>
> +define UNIFDEF_BUILD_CMDS
> + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
> +endef
> +
> +define UNIFDEF_INSTALL_TARGET_CMDS
> + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR)
> install
> +endef
> +
> define HOST_UNIFDEF_BUILD_CMDS
> $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
> endef
> @@ -17,4 +25,5 @@ define HOST_UNIFDEF_INSTALL_CMDS
> $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
> endef
>
> +$(eval $(generic-package))
> $(eval $(host-generic-package))
> --
> 2.41.0
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 4370 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Buildroot] [PATCH v2 1/2] unifdef: add missing license
2023-09-28 0:27 ` [Buildroot] [PATCH v2 " Brandon Maier via buildroot
2023-09-28 0:27 ` [Buildroot] [PATCH v2 2/2] unifdef: add target package Brandon Maier via buildroot
@ 2023-09-28 20:44 ` Yann E. MORIN
2023-10-01 18:28 ` Peter Korsgaard
2 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2023-09-28 20:44 UTC (permalink / raw)
To: Brandon Maier; +Cc: Thomas Devoogdt, Thomas Petazzoni, buildroot
Brandon, All,
On 2023-09-28 00:27 +0000, Brandon Maier via buildroot spake thusly:
> The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause
> applies to "manual page unifdef.1 and the portability support code in
> the FreeBSD subdirectory". The BSD-2-Clause applies to everything else.
>
> Signed-off-by: Brandon Maier <brandon.maier@collins.com>
> Reviewed-by: Thomas Devoogdt <thomas@devoogdt.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> Changes v1 -> v2:
> - No changes
> ---
> package/unifdef/unifdef.mk | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk
> index 7d10595d1b..fd74455894 100644
> --- a/package/unifdef/unifdef.mk
> +++ b/package/unifdef/unifdef.mk
> @@ -6,7 +6,7 @@
>
> UNIFDEF_VERSION = 2.12
> UNIFDEF_SITE = https://dotat.at/prog/unifdef
> -UNIFDEF_LICENSE = BSD-2-Clause
> +UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
> UNIFDEF_LICENSE_FILES = COPYING
>
> define HOST_UNIFDEF_BUILD_CMDS
> --
> 2.41.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Buildroot] [PATCH v2 2/2] unifdef: add target package
2023-09-28 0:27 ` [Buildroot] [PATCH v2 2/2] unifdef: add target package Brandon Maier via buildroot
2023-09-28 19:04 ` Thomas Devoogdt
@ 2023-09-28 20:44 ` Yann E. MORIN
1 sibling, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2023-09-28 20:44 UTC (permalink / raw)
To: Brandon Maier; +Cc: Thomas Devoogdt, Thomas Petazzoni, buildroot
Brandon, All,
On 2023-09-28 00:27 +0000, Brandon Maier via buildroot spake thusly:
> Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> Change v1 -> v2:
> - Move from Misc packages to Dev packages
> ---
> DEVELOPERS | 1 +
> package/Config.in | 1 +
> package/unifdef/Config.in | 9 +++++++++
> package/unifdef/unifdef.mk | 9 +++++++++
> 4 files changed, 20 insertions(+)
> create mode 100644 package/unifdef/Config.in
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index e8b78a8d46..defeb502ab 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -513,6 +513,7 @@ F: package/iftop/
> F: package/ncdu/
>
> N: Brandon Maier <brandon.maier@collins.com>
> +F: package/unifdef/
> F: package/vmtouch/
>
> N: Brock Williams <brock@cottonwoodcomputer.com>
> diff --git a/package/Config.in b/package/Config.in
> index e8dbadadf3..e70479059e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -201,6 +201,7 @@ menu "Development tools"
> source "package/sed/Config.in"
> source "package/subversion/Config.in"
> source "package/tree/Config.in"
> + source "package/unifdef/Config.in"
> source "package/yasm/Config.in"
> endmenu
>
> diff --git a/package/unifdef/Config.in b/package/unifdef/Config.in
> new file mode 100644
> index 0000000000..a1a44d9f5a
> --- /dev/null
> +++ b/package/unifdef/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_UNIFDEF
> + bool "unifdef"
> + help
> + The unifdef utility selectively processes conditional C
> + preprocessor #if and #ifdef directives. It removes from a file
> + both the #directives and the additional text that they
> + delimit, while otherwise leaving the file alone.
> +
> + http://dotat.at/prog/unifdef/
> diff --git a/package/unifdef/unifdef.mk b/package/unifdef/unifdef.mk
> index fd74455894..6761e32b69 100644
> --- a/package/unifdef/unifdef.mk
> +++ b/package/unifdef/unifdef.mk
> @@ -9,6 +9,14 @@ UNIFDEF_SITE = https://dotat.at/prog/unifdef
> UNIFDEF_LICENSE = BSD-2-Clause, BSD-3-Clause
> UNIFDEF_LICENSE_FILES = COPYING
>
> +define UNIFDEF_BUILD_CMDS
> + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
> +endef
> +
> +define UNIFDEF_INSTALL_TARGET_CMDS
> + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR) install
> +endef
> +
> define HOST_UNIFDEF_BUILD_CMDS
> $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
> endef
> @@ -17,4 +25,5 @@ define HOST_UNIFDEF_INSTALL_CMDS
> $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
> endef
>
> +$(eval $(generic-package))
> $(eval $(host-generic-package))
> --
> 2.41.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Buildroot] [PATCH v2 1/2] unifdef: add missing license
2023-09-28 0:27 ` [Buildroot] [PATCH v2 " Brandon Maier via buildroot
2023-09-28 0:27 ` [Buildroot] [PATCH v2 2/2] unifdef: add target package Brandon Maier via buildroot
2023-09-28 20:44 ` [Buildroot] [PATCH v2 1/2] unifdef: add missing license Yann E. MORIN
@ 2023-10-01 18:28 ` Peter Korsgaard
2 siblings, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2023-10-01 18:28 UTC (permalink / raw)
To: Brandon Maier via buildroot
Cc: Thomas Devoogdt, Thomas Petazzoni, Brandon Maier
>>>>> "Brandon" == Brandon Maier via buildroot <buildroot@buildroot.org> writes:
> The COPYING also contains a BSD-3-Clause license. The BSD-3-Clause
> applies to "manual page unifdef.1 and the portability support code in
> the FreeBSD subdirectory". The BSD-2-Clause applies to everything else.
> Signed-off-by: Brandon Maier <brandon.maier@collins.com>
> Reviewed-by: Thomas Devoogdt <thomas@devoogdt.com>
> ---
> Changes v1 -> v2:
> - No changes
Committed to 2023.02.x and 2023.08.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-10-01 18:29 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-19 17:22 [Buildroot] [PATCH 1/2] unifdef: add missing license Brandon Maier via buildroot
2023-09-19 17:23 ` [Buildroot] [PATCH 2/2] unifdef: add target package Brandon Maier via buildroot
2023-09-21 8:08 ` Thomas Devoogdt
2023-09-21 17:00 ` [Buildroot] [External] " Maier, Brandon L Collins via buildroot
2023-09-21 7:53 ` [Buildroot] [PATCH 1/2] unifdef: add missing license Thomas Devoogdt
2023-09-28 0:27 ` [Buildroot] [PATCH v2 " Brandon Maier via buildroot
2023-09-28 0:27 ` [Buildroot] [PATCH v2 2/2] unifdef: add target package Brandon Maier via buildroot
2023-09-28 19:04 ` Thomas Devoogdt
2023-09-28 20:44 ` Yann E. MORIN
2023-09-28 20:44 ` [Buildroot] [PATCH v2 1/2] unifdef: add missing license Yann E. MORIN
2023-10-01 18:28 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox