diff mbox

[RFC,6/7] accel: Move accel.c to accel/

Message ID 1482255793-19057-7-git-send-email-ehabkost@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eduardo Habkost Dec. 20, 2016, 5:43 p.m. UTC
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 Makefile.objs            | 2 +-
 accel.c => accel/accel.c | 0
 accel/Makefile.objs      | 2 ++
 3 files changed, 3 insertions(+), 1 deletion(-)
 rename accel.c => accel/accel.c (100%)

Comments

Thomas Huth Dec. 21, 2016, 7:30 a.m. UTC | #1
On 20.12.2016 18:43, Eduardo Habkost wrote:
> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
> ---
>  Makefile.objs            | 2 +-
>  accel.c => accel/accel.c | 0
>  accel/Makefile.objs      | 2 ++
>  3 files changed, 3 insertions(+), 1 deletion(-)
>  rename accel.c => accel/accel.c (100%)
> 
> diff --git a/Makefile.objs b/Makefile.objs
> index 06f74b8..6d62f54 100644
> --- a/Makefile.objs
> +++ b/Makefile.objs
> @@ -58,7 +58,7 @@ common-obj-$(CONFIG_SPICE) += spice-qemu-char.o
>  
>  common-obj-y += audio/
>  common-obj-y += hw/
> -common-obj-y += accel.o
> +common-obj-y += accel/

Not sure, but there is already "obj-y += accel/" in patch 2 ... do we
need both ?

 Thomas
diff mbox

Patch

diff --git a/Makefile.objs b/Makefile.objs
index 06f74b8..6d62f54 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -58,7 +58,7 @@  common-obj-$(CONFIG_SPICE) += spice-qemu-char.o
 
 common-obj-y += audio/
 common-obj-y += hw/
-common-obj-y += accel.o
+common-obj-y += accel/
 
 common-obj-y += replay/
 
diff --git a/accel.c b/accel/accel.c
similarity index 100%
rename from accel.c
rename to accel/accel.c
diff --git a/accel/Makefile.objs b/accel/Makefile.objs
index 3f3866d..52f7cac 100644
--- a/accel/Makefile.objs
+++ b/accel/Makefile.objs
@@ -3,3 +3,5 @@  obj-$(CONFIG_XEN_I386) += xen-hvm.o xen-mapcache.o
 
 obj-$(CONFIG_KVM) += kvm-common.o
 obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
+
+common-obj-y = accel.o