* [Buildroot] [PATCH 1/2] package/python-enum34: enable host build
@ 2018-09-28 20:04 Matt Weber
2018-09-28 20:04 ` [Buildroot] [PATCH 2/2] package/setools: HOST_ depend on host-python-enum Matt Weber
2018-10-09 13:43 ` [Buildroot] [PATCH 1/2] package/python-enum34: enable host build Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Matt Weber @ 2018-09-28 20:04 UTC (permalink / raw)
To: buildroot
This is initially used by the setools package to do offline
policy analysis using host tools.
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
package/python-enum34/python-enum34.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python-enum34/python-enum34.mk b/package/python-enum34/python-enum34.mk
index c612cb6..09d1143 100644
--- a/package/python-enum34/python-enum34.mk
+++ b/package/python-enum34/python-enum34.mk
@@ -12,3 +12,4 @@ PYTHON_ENUM34_LICENSE = BSD-3-Clause
PYTHON_ENUM34_LICENSE_FILES = enum/LICENSE
$(eval $(python-package))
+$(eval $(host-python-package))
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/setools: HOST_ depend on host-python-enum
2018-09-28 20:04 [Buildroot] [PATCH 1/2] package/python-enum34: enable host build Matt Weber
@ 2018-09-28 20:04 ` Matt Weber
2018-10-09 13:43 ` [Buildroot] [PATCH 1/2] package/python-enum34: enable host build Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Matt Weber @ 2018-09-28 20:04 UTC (permalink / raw)
To: buildroot
The enum34 dependency is required for python2.7 for both
the host and target builds. This patch adds the host
dependency to match what is already in place for the target.
The host build is used by the setools package seinfo tool
offline for host based policy analysis. The analysis is easiest
performed offline as the policy is checked for path/reachability,
which is something that occurs by taking the policy file and
using debug libraries to perform test cases.
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
package/setools/setools.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/setools/setools.mk b/package/setools/setools.mk
index 6748c95..c152e54 100644
--- a/package/setools/setools.mk
+++ b/package/setools/setools.mk
@@ -18,6 +18,7 @@ SETOOLS_PYLIBVER = python$(PYTHON3_VERSION_MAJOR)
else
SETOOLS_PYLIBVER = python$(PYTHON_VERSION_MAJOR)
SETOOLS_DEPENDENCIES += python-enum34
+HOST_SETOOLS_DEPENDENCIES += host-python-enum34
endif
define SETOOLS_FIX_SETUP
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/python-enum34: enable host build
2018-09-28 20:04 [Buildroot] [PATCH 1/2] package/python-enum34: enable host build Matt Weber
2018-09-28 20:04 ` [Buildroot] [PATCH 2/2] package/setools: HOST_ depend on host-python-enum Matt Weber
@ 2018-10-09 13:43 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-10-09 13:43 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 28 Sep 2018 15:04:34 -0500, Matt Weber wrote:
> This is initially used by the setools package to do offline
> policy analysis using host tools.
>
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
> package/python-enum34/python-enum34.mk | 1 +
> 1 file changed, 1 insertion(+)
Both applied to master. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-10-09 13:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-28 20:04 [Buildroot] [PATCH 1/2] package/python-enum34: enable host build Matt Weber
2018-09-28 20:04 ` [Buildroot] [PATCH 2/2] package/setools: HOST_ depend on host-python-enum Matt Weber
2018-10-09 13:43 ` [Buildroot] [PATCH 1/2] package/python-enum34: enable host build Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox