All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] swig: Add Config.in.host
@ 2018-08-31  0:37 Matt Flax
  2018-08-31 21:31 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Flax @ 2018-08-31  0:37 UTC (permalink / raw)
  To: buildroot

This patch make select BR2_PACKAGE_HOST_SWIG work.

The patch adds the package/swig/Config.in.host file and adds this path
to the package/Config.in.host file.

Signed-off-by: Matt Flax <flatmax@flatmax.org>
---
 package/Config.in.host      | 1 +
 package/swig/Config.in.host | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 100644 package/swig/Config.in.host

diff --git a/package/Config.in.host b/package/Config.in.host
index 38543e7390..0bd30ab58b 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -55,6 +55,7 @@ menu "Host utilities"
 	source "package/sam-ba/Config.in.host"
 	source "package/squashfs/Config.in.host"
 	source "package/sunxi-tools/Config.in.host"
+	source "package/swig/Config.in.host"
 	source "package/tegrarcm/Config.in.host"
 	source "package/ti-cgt-pru/Config.in.host"
 	source "package/uboot-tools/Config.in.host"
diff --git a/package/swig/Config.in.host b/package/swig/Config.in.host
new file mode 100644
index 0000000000..f4cdfcd7b3
--- /dev/null
+++ b/package/swig/Config.in.host
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_HOST_SWIG
+	bool "host swig"
+	help
+	  swig is a software development tool that connects programs written in C and
+		C++ with a variety of high-level programming languages.
+
+	  http://www.swig.org/
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] swig: Add Config.in.host
  2018-08-31  0:37 [Buildroot] [PATCH 1/1] swig: Add Config.in.host Matt Flax
@ 2018-08-31 21:31 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-08-31 21:31 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 31 Aug 2018 10:37:57 +1000, Matt Flax wrote:
> This patch make select BR2_PACKAGE_HOST_SWIG work.

Actually, "select BR2_PACKAGE_HOST_SWIG" does not need to work. If you
need host-swig from another package, add "host-swig" to this package
<pkg>_DEPENDENCIES variable. Doing a "select BR2_PACKAGE_HOST_SWIG"
will not give you anything, because it won't guarantee that host-swig
is built before your package.

But anyway, I believe that swig may be needed when doing application
development around Buildroot, so I'm fine with having a visible
menuconfig option for this. I applied your patch with a reworked commit
log.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-31 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31  0:37 [Buildroot] [PATCH 1/1] swig: Add Config.in.host Matt Flax
2018-08-31 21:31 ` Thomas Petazzoni

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.