Message ID | 20220222135143.30602-1-cgzones@googlemail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 09c994c28738 |
Headers | show |
Series | [1/4] newrole: add Makefile target to test build options | expand |
On Wed, Feb 23, 2022 at 2:27 AM Christian Göttsche <cgzones@googlemail.com> wrote: > > Add a Makefile target which build newrole with all combinations of > supported build options. > > Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: James Carter <jwcart2@gmail.com> > --- > policycoreutils/newrole/Makefile | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/policycoreutils/newrole/Makefile b/policycoreutils/newrole/Makefile > index 4dedb7dd..b3ccf671 100644 > --- a/policycoreutils/newrole/Makefile > +++ b/policycoreutils/newrole/Makefile > @@ -91,3 +91,16 @@ indent: > > relabel: install > /sbin/restorecon $(DESTDIR)$(BINDIR)/newrole > + > +test-build-options: > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=y clean newrole > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=y clean newrole > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=y clean newrole > + $(MAKE) PAMH=y AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=y clean newrole > + $(MAKE) PAMH=y AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=n AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=n AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > + $(MAKE) PAMH=n AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > + $(MAKE) clean > -- > 2.35.1 >
On Wed, Mar 2, 2022 at 11:03 AM James Carter <jwcart2@gmail.com> wrote: > > On Wed, Feb 23, 2022 at 2:27 AM Christian Göttsche > <cgzones@googlemail.com> wrote: > > > > Add a Makefile target which build newrole with all combinations of > > supported build options. > > > > Signed-off-by: Christian Göttsche <cgzones@googlemail.com> > > Acked-by: James Carter <jwcart2@gmail.com> > This series has been merged. Thanks, Jim > > --- > > policycoreutils/newrole/Makefile | 13 +++++++++++++ > > 1 file changed, 13 insertions(+) > > > > diff --git a/policycoreutils/newrole/Makefile b/policycoreutils/newrole/Makefile > > index 4dedb7dd..b3ccf671 100644 > > --- a/policycoreutils/newrole/Makefile > > +++ b/policycoreutils/newrole/Makefile > > @@ -91,3 +91,16 @@ indent: > > > > relabel: install > > /sbin/restorecon $(DESTDIR)$(BINDIR)/newrole > > + > > +test-build-options: > > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=y clean newrole > > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=n clean newrole > > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=y clean newrole > > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > > + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=y clean newrole > > + $(MAKE) PAMH=y AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=y clean newrole > > + $(MAKE) PAMH=y AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > > + $(MAKE) PAMH=n AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=n clean newrole > > + $(MAKE) PAMH=n AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > > + $(MAKE) PAMH=n AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole > > + $(MAKE) clean > > -- > > 2.35.1 > >
diff --git a/policycoreutils/newrole/Makefile b/policycoreutils/newrole/Makefile index 4dedb7dd..b3ccf671 100644 --- a/policycoreutils/newrole/Makefile +++ b/policycoreutils/newrole/Makefile @@ -91,3 +91,16 @@ indent: relabel: install /sbin/restorecon $(DESTDIR)$(BINDIR)/newrole + +test-build-options: + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=y clean newrole + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=n clean newrole + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=y clean newrole + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole + $(MAKE) PAMH=y AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=y clean newrole + $(MAKE) PAMH=y AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=y clean newrole + $(MAKE) PAMH=y AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole + $(MAKE) PAMH=n AUDITH=y AUDIT_LOG_PRIV=y NAMESPACE_PRIV=n clean newrole + $(MAKE) PAMH=n AUDITH=y AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole + $(MAKE) PAMH=n AUDITH=n AUDIT_LOG_PRIV=n NAMESPACE_PRIV=n clean newrole + $(MAKE) clean
Add a Makefile target which build newrole with all combinations of supported build options. Signed-off-by: Christian Göttsche <cgzones@googlemail.com> --- policycoreutils/newrole/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+)