Skip to contentSkip to conversation

swig: Add Config.in.host

PATCH New Matt Flax 2 participants 2 messages Aug 31, 2018

lore
Share & tools
lore

Matt Flax

author
#0 lore raw

PATCH 1/1 swig: Add Config.in.host

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.

---
 package/Config.in.host      | 1 +
 package/swig/Config.in.host | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 100644 package/swig/Config.in.host
package/Config.in.host +1 -0
index 38543e7390..0bd30ab58b 100644
@@ -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"
package/swig/Config.in.host new file +7 -0
new file mode 100644
index 0000000000..f4cdfcd7b3
@@ -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/
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 swig: Add Config.in.host

Hello,

Quoted 1 line · Matt Flax

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

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com