While trying to convert klibc to use kbuild I stumped over klcc. Would it be any problem if the klcc files and Makefile rules are moved to a subdirectory? klcc/ seems obvious. This allows me to share definitions from scripts/Kbuild.klibc. One example is CROSS that in Kbuild.klibc is named USERCROSS. And there are other similar examples. I will try to adjust - but my focus is to have a clean namespace in the kernel and that will hurt the more generic klibc names. Comments? Sam (who is almost heading for bed - nighttime here)
Sam Ravnborg wrote:> While trying to convert klibc to use kbuild I stumped over klcc. > Would it be any problem if the klcc files and Makefile rules are moved > to a subdirectory? > > klcc/ seems obvious. > > This allows me to share definitions from scripts/Kbuild.klibc. > One example is CROSS that in Kbuild.klibc is named USERCROSS. > And there are other similar examples. > > I will try to adjust - but my focus is to have a clean namespace in the > kernel and that will hurt the more generic klibc names. > > Comments? >Makes sense to me. Agreed that clean namespace in the kernel is the most important; we can make changes in klibc as needed. -hpa