Skip to contentSkip to conversation

accel/hax: move hax-stub.c to accel/stubs/

PATCH In review Philippe Mathieu-Daudé 3 participants 4 messages Sep 13, 2017 – Sep 14, 2017 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 accel/hax: move hax-stub.c to accel/stubs/

---
 Makefile.target                      | 1 -
 hax-stub.c => accel/stubs/hax-stub.c | 0
 accel/stubs/Makefile.objs            | 1 +
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename hax-stub.c => accel/stubs/hax-stub.c (100%)
Makefile.target +0 -1
index 6361f957fb..af4b60d012 100644
@@ -101,7 +101,6 @@ obj-y += fpu/softfloat.o
 obj-y += target/$(TARGET_BASE_ARCH)/
 obj-y += disas.o
 obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
-obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o
 
 obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decContext.o
 obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decNumber.o
accel/stubs/hax-stub.c renamed from hax-stub.c +0 -0
similarity index 100%
rename from hax-stub.c
rename to accel/stubs/hax-stub.c
accel/stubs/Makefile.objs +1 -0
index fdfbf7332c..8038ad6553 100644
@@ -1,2 +1,3 @@
 obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
 obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o
+obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o
Signature · 1 line
2.14.1
Reviewed-by on v1 1/1
#1 lore raw

Am 14.09.2017 um 00:11 schrieb Philippe Mathieu-Daudé:

Quoted 30 lines
---
 Makefile.target                      | 1 -
 hax-stub.c => accel/stubs/hax-stub.c | 0
 accel/stubs/Makefile.objs            | 1 +
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename hax-stub.c => accel/stubs/hax-stub.c (100%)
Makefile.target +0 -1
index 6361f957fb..af4b60d012 100644
@@ -101,7 +101,6 @@ obj-y += fpu/softfloat.o
 obj-y += target/$(TARGET_BASE_ARCH)/
 obj-y += disas.o
 obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
-obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o
 
 obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decContext.o
 obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decNumber.o
accel/stubs/hax-stub.c renamed from hax-stub.c +0 -0
similarity index 100%
rename from hax-stub.c
rename to accel/stubs/hax-stub.c
accel/stubs/Makefile.objs +0 -0
index fdfbf7332c..8038ad6553 100644

accel/stubs/Makefile.objs line 3

Quoted 3 lines
accel/stubs/Makefile.objs +1 -0
@@ -1,2 +1,3 @@
 obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
 obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o
+obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o

Personally, I like alphabetic order for such lines. Maybe that can be done when it is applied.

Stefan

#2 lore raw
Quoted 8 lines

accel/stubs/Makefile.objs line 3

Quoted 6 lines
accel/stubs/Makefile.objs +1 -0
@@ -1,2 +1,3 @@
 obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
 obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o
+obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o

Thanks!

Quoted 3 lines

Personally, I like alphabetic order for such lines. Maybe that can be done when it is applied.

Fine by me ;)

Richard if you plan to take this, tell me if you prefer another patch alphabetically sorted.

Regards,

Phil.

#3 lore raw
In reply to Stefan Weil
Quoted 37 lines · Stefan Weil

Am 14.09.2017 um 00:11 schrieb Philippe Mathieu-Daudé:

Quoted 30 lines
---
 Makefile.target                      | 1 -
 hax-stub.c => accel/stubs/hax-stub.c | 0
 accel/stubs/Makefile.objs            | 1 +
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename hax-stub.c => accel/stubs/hax-stub.c (100%)
Makefile.target +0 -1
index 6361f957fb..af4b60d012 100644
@@ -101,7 +101,6 @@ obj-y += fpu/softfloat.o
 obj-y += target/$(TARGET_BASE_ARCH)/
 obj-y += disas.o
 obj-$(call notempty,$(TARGET_XML_FILES)) += gdbstub-xml.o
-obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o
 
 obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decContext.o
 obj-$(CONFIG_LIBDECNUMBER) += libdecnumber/decNumber.o
accel/stubs/hax-stub.c renamed from hax-stub.c +0 -0
similarity index 100%
rename from hax-stub.c
rename to accel/stubs/hax-stub.c
accel/stubs/Makefile.objs +0 -0
index fdfbf7332c..8038ad6553 100644

accel/stubs/Makefile.objs line 3

Quoted 3 lines
accel/stubs/Makefile.objs +1 -0
@@ -1,2 +1,3 @@
 obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
 obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o
+obj-$(call lnot,$(CONFIG_HAX)) += hax-stub.o
Quoted 2 lines

Personally, I like alphabetic order for such lines. Maybe that can be done when it is applied.

Done and queued, thanks both.

Paolo