make mrproper deletes lib/acpi/dsdt.c
Hi Simon
Since a few days I noticed the following:
⬢[zim@toolbox u-boot.git]$ git status
On branch master
Your branch is up to date with 'origin/master'.
⬢[zim@toolbox u-boot.git]$ make mrproper
⬢[zim@toolbox u-boot.git]$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory)
deleted: lib/acpi/dsdt.c
So somehow cleaning with mrproper deletes that file. Do you know what could be the cause?
Thanks!
Cheers
Marcel
Hi Marcel,
Quoted 13 lines · Marcel Ziswiler
Hi Simon
Since a few days I noticed the following:
⬢[zim@toolbox u-boot.git]$ git status
On branch master
Your branch is up to date with 'origin/master'.
⬢[zim@toolbox u-boot.git]$ make mrproper
⬢[zim@toolbox u-boot.git]$ git status
On branch master
Your branch is up to date with 'origin/master'.
Quoted 6 lines
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory)
deleted:lib/acpi/dsdt.cSo somehow cleaning with mrproper deletes that file. Do you know what could be the cause?
Yes it is the
-o -name 'dsdt.c'
in the Makefile 'clean' rule. That file is created during the build in a board/ directory (e.g. with chromebook_coral) which is why we delete it. It seems like we need to make a change somewhere.
Regards,
Simon
+Heinrich Schuchardt who noticed the same thing
We should know the pathname of the generated dsdt.c file so perhaps we should delete it explicitly?
- Simon
Quoted 35 lines · Simon Glass
Hi Marcel,
Quoted 13 lines · Marcel Ziswiler
Hi Simon
Since a few days I noticed the following:
⬢[zim@toolbox u-boot.git]$ git status
On branch master
Your branch is up to date with 'origin/master'.
⬢[zim@toolbox u-boot.git]$ make mrproper
⬢[zim@toolbox u-boot.git]$ git status
On branch master
Your branch is up to date with 'origin/master'.Quoted 6 lines
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory)
deleted:lib/acpi/dsdt.cSo somehow cleaning with mrproper deletes that file. Do you know what could be the cause?
Yes it is the
-o -name '
dsdt.c'in the
Makefile'clean' rule. That file is created during the build in a board/ directory (e.g. withchromebook_coral) which is why we delete it. It seems like we need to make a change somewhere.Regards,
Simon