xiaoxiang781216 commented on issue #1363:
URL: 
https://github.com/apache/incubator-nuttx/issues/1363#issuecomment-653774683


   > I believe that the issue is the the ZDS-II toolchain assembly files have 
the extension .asm but when you compile a .c file it generates a temporary .asm 
file that is then assembled. When compile a foobar.c file with the ZDS-II 
toolchain, it generates foobar.asm, foobar.rel, foobar.obj, and foobar.lst. The 
.asm file is the only issue here because it is also the name used with all 
ZDS-II assembly file.
   > 
   > So /.asm must appear in all ZDS-II build directories but cannot appear in 
a higher level directory. Just removing .asm from the top-level .gitignore file 
means that all of these .asm files (and there are hundreds) will all appear as 
untracked files. That makes those configurations difficult to use.
   > 
   
   Your description isn't self-consistent:
   1.If git ignore *.asm, git can't track the manual written assembler files.
   2.If git don't ignore *.asm, the generated assembler files mess up the 
directory.
   
   > This is a consequence of people making unnecessary change code when they 
do not understand the full ramifications and do absolutely no testing.
   
   it isn't good to duplicate .gitignore in each folder(I never see other 
project to use .gitignore like this). @patacongo since only you are familar 
with z80 arch and actively change the code in arch/z80 and boards/z80, please 
take some time to improve the build system to cover z80. This is only way to 
ensure z80 quality.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to