All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Brandon Maier <brandon.maier@collins.com>
Cc: Thomas Devoogdt <thomas@devoogdt.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 2/2] unifdef: add target package
Date: Thu, 28 Sep 2023 22:44:47 +0200	[thread overview]
Message-ID: <20230928204447.GC14593@scaer> (raw)
In-Reply-To: <20230928002728.2402-2-brandon.maier@collins.com>

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

  parent reply	other threads:[~2023-09-28 20:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2023-09-28 20:44   ` [Buildroot] [PATCH v2 1/2] unifdef: add missing license Yann E. MORIN
2023-10-01 18:28   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230928204447.GC14593@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=brandon.maier@collins.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=thomas@devoogdt.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.