From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: Simon Glass <sjg@chromium.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Bin Meng <bmeng.cn@gmail.com>, Tom Rini <trini@konsulko.com>,
Wolfgang Wallner <wolfgang.wallner@br-automation.com>,
u-boot@lists.denx.de
Subject: Re: [PATCH v1 1/1] Makefile.lib: Always rebuild DSDT
Date: Sat, 9 Dec 2023 15:39:56 +0100 [thread overview]
Message-ID: <ef369d4e-9cfb-41ea-b57a-2d0165587a4d@gmx.de> (raw)
In-Reply-To: <CAPnjgZ3X9hC_n3pqgsDcAuoAfP6yEwQCG0h=PXq-oDj_cwpozQ@mail.gmail.com>
On 11/30/23 03:45, Simon Glass wrote:
> Hi,
>
> On Wed, 29 Nov 2023 at 10:17, Heinrich Schuchardt
> <heinrich.schuchardt@canonical.com> wrote:
>>
>> On 20.10.21 14:37, Andy Shevchenko wrote:
>>> 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>
>>
>> The build process that you describe is not in our documentation.
>>
>> By which defconfig is $(src)/dsdt.asl consumed? Where does it come from?
>> Please, provide a reproducible example.
>>
>> Would you be able to provide a documentation patch explaining how to use
>> a user provided dsdt.asl file?
>>
>> Best regards
>>
>> Heinrich
>>
>>
>>> ---
>>> 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," $@
>>>
>>
>
> I agree that this patch is better than having the bug. But yes the
> docs could really use some notes here, for the person who does come
> along and clean up the dependency bug.
>
> Regards,
> Simon
The patch is neither applicable to origin/next nor to origin/master.
I only find a line
$(obj)/dsdt_generated.c: $(src)/dsdt.asl
Best regards
Heinrich
prev parent reply other threads:[~2023-12-09 14:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ef369d4e-9cfb-41ea-b57a-2d0165587a4d@gmx.de \
--to=xypron.glpk@gmx.de \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bmeng.cn@gmail.com \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=wolfgang.wallner@br-automation.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox