Nicholas Chin has uploaded this change for review.

View Change

Makefile.mk: Include build/dsdt.d at common point of build

Instead of including the dependency file generated in asl_template when
the template is evaluated, add it to the DEPENDENCIES variable so that
it is included when the rest of the .d files in the DEPENDENCIES are
included in the top level Makefile. This should be safe since template
is evaluated while calling includemakefiles, which is called before the
files in DEPENDENCIES are included.

Change-Id: Ie8271d1e172395917f2859c8bbfd2041ddc572ca
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
---
M Makefile.mk
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/83/80383/1
diff --git a/Makefile.mk b/Makefile.mk
index f7b98c7..f0fa7fd 100644
--- a/Makefile.mk
+++ b/Makefile.mk
@@ -302,7 +302,7 @@
$(CONFIG_CBFS_PREFIX)/$(1).aml-align = 64
endif
cbfs-files-$(if $(2),$(2),y) += $(CONFIG_CBFS_PREFIX)/$(1).aml
--include $(obj)/$(1).d
+DEPENDENCIES += $(obj)/$(1).d
$(obj)/$(1).aml: $(src)/mainboard/$(MAINBOARDDIR)/$(1).asl $(obj)/config.h
@printf " IASL $$(subst $(top)/,,$$(@))\n"
$(CC_ramstage) -x assembler-with-cpp -E -MMD -MT $$(@) $$(CPPFLAGS_ramstage) -D__ACPI__ -P -include $(src)/include/kconfig.h -I$(obj) -I$(src) -I$(src)/include -I$(src)/arch/$(ARCHDIR-$(ARCH-ramstage-y))/include -I$(src)/mainboard/$(MAINBOARDDIR) $$< -o $(obj)/$(1).asl

To view, visit change 80383. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ie8271d1e172395917f2859c8bbfd2041ddc572ca
Gerrit-Change-Number: 80383
Gerrit-PatchSet: 1
Gerrit-Owner: Nicholas Chin <nic.c3.14@gmail.com>
Gerrit-MessageType: newchange