> On 03 Apr 2016, at 19:43, Peter Maydell <peter.mayd...@linaro.org> wrote: > > On 3 April 2016 at 16:40, Liviu Ionescu <i...@livius.net> wrote: >> >>> On 03 Apr 2016, at 15:28, Peter Maydell <peter.mayd...@linaro.org> wrote: >> >>> since hw/arm/boot.o is in obj-y it should always be built, >> >> not necessarily, in my build configuration I have if's that >> exclude most of the files non related to Cortex-M. > > boot.o is in obj-y; it is (I think) impossible to > build a v7M supporting QEMU without boot.o unless you've modified > the makefiles for some reason.
that's nothing more than the usual make magic, most of the makefiles look like this: ifeq ($(CONFIG_GNU_ARM_ECLIPSE),n) obj-y += boot.o collie.o exynos4_boards.o gumstix.o highbank.o obj-$(CONFIG_DIGIC) += digic_boards.o obj-y += integratorcp.o mainstone.o musicpal.o nseries.o obj-y += omap_sx1.o palm.o realview.o spitz.o stellaris.o obj-y += tosa.o versatilepb.o vexpress.o virt.o xilinx_zynq.o z2.o obj-$(CONFIG_ACPI) += virt-acpi-build.o obj-y += netduino2.o obj-y += sysbus-fdt.o obj-y += armv7m.o exynos4210.o pxa2xx.o pxa2xx_gpio.o pxa2xx_pic.o obj-$(CONFIG_DIGIC) += digic.o obj-y += omap1.o omap2.o strongarm.o obj-$(CONFIG_ALLWINNER_A10) += allwinner-a10.o cubieboard.o obj-$(CONFIG_STM32F205_SOC) += stm32f205_soc.o obj-$(CONFIG_XLNX_ZYNQMP) += xlnx-zynqmp.o xlnx-ep108.o obj-$(CONFIG_FSL_IMX25) += fsl-imx25.o imx25_pdk.o obj-$(CONFIG_FSL_IMX31) += fsl-imx31.o kzm.o endif regards, Liviu