All of lore.kernel.org
 help / color / mirror / Atom feed
From: cpebenito@tresys.com (Christopher J. PeBenito)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH] Create tmp directory when compiling a .mod.fc file in a modular way
Date: Tue, 2 Dec 2014 10:31:31 -0500	[thread overview]
Message-ID: <547DDB53.2020404@tresys.com> (raw)
In-Reply-To: <1416756873-25634-1-git-send-email-nicolas.iooss@m4x.org>

On 11/23/2014 10:34 AM, Nicolas Iooss wrote:
> When compiling modules using support/Makefile.devel (which is installed
> in /usr/share/selinux/*/include/Makefile) with "make -j9", the build
> fails because tmp/ does not exist.
> 
> Add the missing command to create tmp/ when running tmp/%.mod.fc target.
> 
> Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=530178
> ---
>  support/Makefile.devel | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/support/Makefile.devel b/support/Makefile.devel
> index b96e9b3d1caa..ae5293296194 100644
> --- a/support/Makefile.devel
> +++ b/support/Makefile.devel
> @@ -158,6 +158,7 @@ tmp/%.mod: $(m4support) tmp/all_interfaces.conf %.te
>  	$(verbose) $(CHECKMODULE) -m $(@:.mod=.tmp) -o $@
>  
>  tmp/%.mod.fc: $(m4support) %.fc
> +	@test -d $(@D) || mkdir -p $(@D)
>  	$(verbose) $(M4) $(M4PARAM) $^ > $@
>  
>  %.pp: tmp/%.mod tmp/%.mod.fc

Merged.

-- 
Chris PeBenito
Tresys Technology, LLC
www.tresys.com | oss.tresys.com

      reply	other threads:[~2014-12-02 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-23 15:34 [refpolicy] [PATCH] Create tmp directory when compiling a .mod.fc file in a modular way Nicolas Iooss
2014-12-02 15:31 ` Christopher J. PeBenito [this message]

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=547DDB53.2020404@tresys.com \
    --to=cpebenito@tresys.com \
    --cc=refpolicy@oss.tresys.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.