All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Mosnacek <omosnace@redhat.com>
To: SElinux list <selinux@vger.kernel.org>
Subject: Re: [PATCH testsuite 1/2] tests/module_load: simplify the clean target
Date: Sat, 11 Sep 2021 20:34:37 +0200	[thread overview]
Message-ID: <CAFqZXNutrW7WsQ19VwwXFn378ZBs3B_tsWKefMUiCpicNE121Q@mail.gmail.com> (raw)
In-Reply-To: <20210906105435.96417-1-omosnace@redhat.com>

On Mon, Sep 6, 2021 at 12:54 PM Ondrej Mosnacek <omosnace@redhat.com> wrote:
> No need to guess all the wildcards to remove the intermediate files from
> module build - we can just use the kernel module build system to clean
> them up for us.
>
> Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
> ---
>  tests/module_load/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/module_load/Makefile b/tests/module_load/Makefile
> index b6eba25..ce34241 100644
> --- a/tests/module_load/Makefile
> +++ b/tests/module_load/Makefile
> @@ -9,4 +9,4 @@ all: $(TARGETS)
>
>  clean:
>         rm -f $(TARGETS)
> -       rm -f *.a *.o *.ko *.cmd *.mod *.mod.c .*.cmd Module.symvers modules.order
> +       $(MAKE) -C $(KDIR) M=$(PWD) clean
> --
> 2.31.1
>

Both patches are now applied.

-- 
Ondrej Mosnacek
Software Engineer, Linux Security - SELinux kernel
Red Hat, Inc.


      parent reply	other threads:[~2021-09-11 18:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 10:54 [PATCH testsuite 1/2] tests/module_load: simplify the clean target Ondrej Mosnacek
2021-09-06 10:54 ` [PATCH testsuite 2/2] tests/module_load: use the right compiler to build kernel modules Ondrej Mosnacek
2021-09-11 18:34 ` Ondrej Mosnacek [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=CAFqZXNutrW7WsQ19VwwXFn378ZBs3B_tsWKefMUiCpicNE121Q@mail.gmail.com \
    --to=omosnace@redhat.com \
    --cc=selinux@vger.kernel.org \
    /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.