Hi Fred, Thanks, I have misunderstood the process to add a new model. I will follow your advice for the next patch and add the Makefile modification in the same Patch.
Gabriel On Fri, Oct 27, 2017 at 9:07 AM, KONRAD Frederic < frederic.kon...@adacore.com> wrote: > Hi, > > Why does this patch has a v6 prefix? And it seems some patches > are missing. > To send your patches I suggest you use git send-email. > > About this patch: > Each Makefile modification should go in the patch which > introduces the new model. > eg: > hw/char/Makefile.objs must be modified in 4/5 kinetis_k64_uart. > > Fred > > > On 10/26/2017 12:34 PM, Gabriel Costa wrote: > >> From: Gabriel Augusto Costa <gabriel291...@gmail.com> >> >> This file change the Makefiles to compile the mk64fn1m0 machine. >> >> Signed-off-by: Gabriel Augusto Costa <gabriel291...@gmail.com> >> --- >> default-configs/arm-softmmu.mak | 1 + >> hw/arm/Makefile.objs | 1 + >> hw/char/Makefile.objs | 1 + >> hw/misc/Makefile.objs | 3 +++ >> 4 files changed, 6 insertions(+) >> >> diff --git a/default-configs/arm-softmmu.mak >> b/default-configs/arm-softmmu.mak >> index 5059d13..a835d4f >> --- a/default-configs/arm-softmmu.mak >> +++ b/default-configs/arm-softmmu.mak >> @@ -130,3 +130,4 @@ CONFIG_SMBIOS=y >> CONFIG_ASPEED_SOC=y >> CONFIG_GPIO_KEY=y >> CONFIG_MSF2=y >> +CONFIG_KINETIS_K64=y >> diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs >> index 2794e08..874a38a >> --- a/hw/arm/Makefile.objs >> +++ b/hw/arm/Makefile.objs >> @@ -20,3 +20,4 @@ obj-$(CONFIG_FSL_IMX6) += fsl-imx6.o sabrelite.o >> obj-$(CONFIG_ASPEED_SOC) += aspeed_soc.o aspeed.o >> obj-$(CONFIG_MPS2) += mps2.o >> obj-$(CONFIG_MSF2) += msf2-soc.o msf2-som.o >> +obj-$(CONFIG_KINETIS_K64) += mk64fn1m0.o >> diff --git a/hw/char/Makefile.objs b/hw/char/Makefile.objs >> index 1bcd37e..75b194c >> --- a/hw/char/Makefile.objs >> +++ b/hw/char/Makefile.objs >> @@ -31,3 +31,4 @@ common-obj-$(CONFIG_SCLPCONSOLE) += sclpconsole.o >> sclpconsole-lm.o >> obj-$(CONFIG_VIRTIO) += virtio-serial-bus.o >> obj-$(CONFIG_TERMINAL3270) += terminal3270.o >> +obj-$(CONFIG_KINETIS_K64) += kinetis_k64_uart.o >> diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs >> index 19202d9..c5c8589 >> --- a/hw/misc/Makefile.objs >> +++ b/hw/misc/Makefile.objs >> @@ -61,3 +61,6 @@ obj-$(CONFIG_AUX) += auxbus.o >> obj-$(CONFIG_ASPEED_SOC) += aspeed_scu.o aspeed_sdmc.o >> obj-y += mmio_interface.o >> obj-$(CONFIG_MSF2) += msf2-sysreg.o >> +obj-$(CONFIG_KINETIS_K64) += kinetis_k64_mcg.o >> +obj-$(CONFIG_KINETIS_K64) += kinetis_k64_pmux.o >> +obj-$(CONFIG_KINETIS_K64) += kinetis_k64_system.o >> >>