Closed brandong954 closed 10 years ago
I agree we should make one. One question though, are these files machine dependent? For example if we didn't put them in a gitignore and someone with a mac pulled from the repo and got all of our .o files and disk image will it not work for them?
correct, they would need to recompile, and possibly have to delete all the junk .o files. I'm pretty sure all those files listed above could be ignored since they are not initially apart of the repo. Setting it up now.
It's machine independent and I would go broad and simply add .o and .img .map .elf Rule of thumb: (almost) never commit binary files or files that get built, only commit the sources.
Ok, I've gone ahead and added a global .gitignore file to the repo. Should be good now.
Looks like users could possibly push a lot of unnecessary .o and image files. I recommend we create a .gitignore file to prevent such files from being unnecessarily added to the repo. Here are a few files that I think we should add to .gitignore:
course_os.img kernel.img start.o startup.o uart.o
and possibly these, but I'm not sure yet kernel.map kernel.bin kernel.elf ../toolchain/target/ ../u-boot/u-boot-2010.03.tar.bz2 ../u-boot/u-boot-2010.03/