[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH 02/12] Makefile: build and use new DSDT table for Q35
>>> On 12.03.18 at 19:33, <x1917x@xxxxxxxxx> wrote: > --- a/tools/firmware/hvmloader/Makefile > +++ b/tools/firmware/hvmloader/Makefile > @@ -75,7 +75,7 @@ rombios.o: roms.inc > smbios.o: CFLAGS += -D__SMBIOS_DATE__="\"$(SMBIOS_REL_DATE)\"" > > ACPI_PATH = ../../libacpi > -DSDT_FILES = dsdt_anycpu.c dsdt_15cpu.c dsdt_anycpu_qemu_xen.c > +DSDT_FILES = dsdt_anycpu.c dsdt_15cpu.c dsdt_anycpu_qemu_xen.c > dsdt_q35_anycpu_qemu_xen.c Unless you intend to add a second flavor, please omit the "anycpu" part from the name of the new instance. > @@ -56,6 +56,13 @@ $(ACPI_BUILD_DIR)/dsdt_anycpu_qemu_xen.asl: dsdt.asl > dsdt_acpi_info.asl $(MK_DSD > $(MK_DSDT) --debug=$(debug) --dm-version qemu-xen >> $@.$(TMP_SUFFIX) > mv -f $@.$(TMP_SUFFIX) $@ > > +$(ACPI_BUILD_DIR)/dsdt_q35_anycpu_qemu_xen.asl: dsdt_q35.asl > dsdt_acpi_info.asl $(MK_DSDT) > + # Remove last bracket > + awk 'NR > 1 {print s} {s=$$0}' $< > $@.$(TMP_SUFFIX) > + cat dsdt_acpi_info.asl >> $@.$(TMP_SUFFIX) > + $(MK_DSDT) --debug=$(debug) --dm-version qemu-xen >> $@.$(TMP_SUFFIX) > + mv -f $@.$(TMP_SUFFIX) $@ The commands look to be exactly the same as those for dsdt_anycpu_qemu_xen.asl - please let's not duplicate such things, but instead use a pattern rule. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |