arch/powerpc/boot/.gitignore questions

Randy Dunlap randy.dunlap at oracle.com
Thu Sep 11 07:48:59 EST 2008


Scott Wood wrote:
> Randy Dunlap wrote:
>>>> I was looking at the arch/powerpc/boot/.gitignore file.
>>>> Why are all of those non-local-directory files listed there?
>>>> E.g., empty.c, inf*.c, inf*.h, zconf.h, zlib.h, zutil.h, etc.
>>
>> Why would these files be listed in arch/powerpc/boot/.gitignore ??
> 
> Because they're created when building a bootwrapper?
> 
>>>> And what is "dtc"?  I see a dtc-src directory, but "dtc" is MIA.
>>> ./arch/powerpc/boot/dtc
>>
>> Where do you see that?  That's not in 2.6.27-rc6 nor in the current
>> powerpc.git tree.  They both have:
> 
> Of course not -- it wouldn't be in gitignore if it weren't a generated
> file.
> 
>>> pwd
>> /var/linsrc/lin2627-rc6/arch/powerpc/boot
>>> ls -ld dt*
>> drwxr-xr-x 2 rdunlap users 4096 Jul 13 14:51 dtc-src/
>> drwxr-xr-x 2 rdunlap users 4096 Sep  9 19:33 dts/
>>
>>
>> which leads me to believe that the .gitignore entry should be either
>> dts or dtc-src or both, but not "dtc".
> 
> Why would we want to ignore source directories?  dtc is the binary that
> is built from dtc-src.

Thanks.  Got it.

~Randy




More information about the Linuxppc-dev mailing list