lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAQsgoBCmCOZ0ynjZc35XN4qr=NBhutC9RZbmD5srcvcAw@mail.gmail.com>
Date:   Mon, 14 Feb 2022 12:39:49 +0900
From:   Masahiro Yamada <masahiroy@...nel.org>
To:     Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Greentime Hu <green.hu@...il.com>,
        Nick Hu <nickhu@...estech.com>,
        Vincent Chen <deanbo422@...il.com>,
        Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: [PATCH] nds32: move core-y in arch/nds32/Makefile to arch/nds32/Kbuild

I will apply this to linux-kbuild to avoid
the pain of Stephen Rothwell:

https://lore.kernel.org/lkml/20211025093813.2ebe9212@canb.auug.org.au/t/

The nds32 tree seems unmaintained.






On Mon, Feb 14, 2022 at 12:38 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
> Use obj-y to clean up Makefile.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> ---
>
>  arch/nds32/Kbuild   | 3 +++
>  arch/nds32/Makefile | 3 ---
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/nds32/Kbuild b/arch/nds32/Kbuild
> index 4e39f7abdeb6..ac127371afa4 100644
> --- a/arch/nds32/Kbuild
> +++ b/arch/nds32/Kbuild
> @@ -1,4 +1,7 @@
>  # SPDX-License-Identifier: GPL-2.0-only
> +obj-y                  += kernel/ mm/
> +obj-$(CONFIG_FPU)      += math-emu/
> +obj-y                  += boot/dts/
>
>  # for cleaning
>  subdir- += boot
> diff --git a/arch/nds32/Makefile b/arch/nds32/Makefile
> index b33d5d81b6ae..7be31e3d7f2d 100644
> --- a/arch/nds32/Makefile
> +++ b/arch/nds32/Makefile
> @@ -27,8 +27,6 @@ export        TEXTADDR
>
>
>  # If we have a machine-specific directory, then include it in the build.
> -core-y                         += arch/nds32/kernel/ arch/nds32/mm/
> -core-$(CONFIG_FPU)              += arch/nds32/math-emu/
>  libs-y                         += arch/nds32/lib/
>
>  ifdef CONFIG_CPU_LITTLE_ENDIAN
> @@ -44,7 +42,6 @@ CHECKFLAGS      += -D__NDS32_EB__
>  endif
>
>  boot := arch/nds32/boot
> -core-y += $(boot)/dts/
>
>  Image: vmlinux
>         $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
> --
> 2.32.0
>


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ