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] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 22 Sep 2015 11:20:20 +0200
From:	Michal Marek <mmarek@...e.com>
To:	Feng Wu <feng.wu@...el.com>, pbonzini@...hat.com,
	alex.williamson@...hat.com
Cc:	eric.auger@...aro.org, linux-kbuild@...r.kernel.org,
	linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Subject: Re: [PATCH] Add virt directory to the top Makefile

On 2015-09-22 10:47, Feng Wu wrote:
> We need to build files in virt/lib/, which are now used by
> KVM and VFIO, so add virt directory to the top Makefile.
> 
> Signed-off-by: Feng Wu <feng.wu@...el.com>
> ---
>  Makefile              | 8 +++++---
>  arch/x86/kvm/Makefile | 3 ---
>  virt/Makefile         | 1 +
>  3 files changed, 6 insertions(+), 6 deletions(-)
>  create mode 100644 virt/Makefile

I assume this will go through the kvm tree, is that correct?


>  vmlinux-dirs	:= $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \
>  		     $(core-y) $(core-m) $(drivers-y) $(drivers-m) \
> -		     $(net-y) $(net-m) $(libs-y) $(libs-m)))
> +		     $(net-y) $(net-m) $(libs-y) $(libs-m) $(virt-y)))

This allows to drop the explicit 'virt' entry in the KBUILD_ALLDIRS
assignment a few lines below.


> diff --git a/virt/Makefile b/virt/Makefile
> new file mode 100644
> index 0000000..335dc0b
> --- /dev/null
> +++ b/virt/Makefile
> @@ -0,0 +1 @@
> +obj-y	+= ./lib/

Remove the ./

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ