public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1 1/1] Makefile.lib: Always rebuild DSDT
@ 2021-10-20 12:37 Andy Shevchenko
  2021-10-24 19:53 ` Simon Glass
  2023-11-29 17:16 ` Heinrich Schuchardt
  0 siblings, 2 replies; 10+ messages in thread
From: Andy Shevchenko @ 2021-10-20 12:37 UTC (permalink / raw)
  To: u-boot; +Cc: Bin Meng, Simon Glass, Tom Rini, Wolfgang Wallner,
	Andy Shevchenko

The dsdt.asl is usually combined out of several files that are included
in the main one. Whenever we change the content of any of such files,
build system is not able to recognize them. Hence the easiest way is to
force DSDT rebuild each time we run make.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 scripts/Makefile.lib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 07696e86bb54..8c3c893b398a 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -441,7 +441,7 @@ cmd_acpi_c_asl=         \
 	iasl -p $@ -tc $(ASL_TMP) $(if $(KBUILD_VERBOSE:1=), >/dev/null) && \
 	mv $(patsubst %.c,%.hex,$@) $@
 
-$(obj)/dsdt.c:    $(src)/dsdt.asl
+$(obj)/dsdt.c:    $(src)/dsdt.asl FORCE
 	$(call cmd,acpi_c_asl)
 	$(Q)sed -i -e "s,dsdt_aml_code,AmlCode," $@
 
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-12-09 14:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-20 12:37 [PATCH v1 1/1] Makefile.lib: Always rebuild DSDT Andy Shevchenko
2021-10-24 19:53 ` Simon Glass
2021-10-25  7:33   ` Andy Shevchenko
2021-10-25 15:18     ` Simon Glass
2021-10-25 18:52       ` Andy Shevchenko
2022-03-30  9:21         ` Andy Shevchenko
2023-11-29 10:07           ` Andy Shevchenko
2023-11-29 17:16 ` Heinrich Schuchardt
2023-11-30  2:45   ` Simon Glass
2023-12-09 14:39     ` Heinrich Schuchardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox