<p dir="ltr"><br>
On Apr 27, 2016 12:31 PM, "printk" <<a href="mailto:opentkernel@163.com">opentkernel@163.com</a>> wrote:<br>
><br>
> Hello, I am translating Makefile.am(s) to kbuild<br>
><br>
> > #<br>
> > # DIRECTORY_SCAN_C_FILES =<br>
> > # ## Newlib SHOULD have provided this one<br>
> > # DIRECTORY_SCAN_C_FILES += src/readdir_r.c<br>
> > # ## Comment out when using these from newlib's unix directory<br>
> > # DIRECTORY_SCAN_C_FILES += src/getcwd.c<br>
> > #<br>
> > # ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \<br>
> > # src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \<br>
> > # src/seteuid.c src/setgid.c src/setuid.c src/setegid.c src/setpgid.c \<br>
> > # src/setsid.c<br>
> ><br>
> > CONFIG_DIRECTORY_SCAN_C_FILES := y<br>
> > obj-$(CONFIG_DIRECTORY_SCAN_C_FILES) += readdir_r.o<br>
> > #ERROR obj-$(CONFIG_DIRECTORY_SCAN_C_FILES) += getcwd.o<br>
><br>
> --> # ## Comment out when using these from newlib's unix directory<br>
> is this means when compiling with newlib, the getcwd.c is not needed?<br>
> now the arm-rtemsX.XX-gcc is with newlib. is this file not compiled?</p>
<p dir="ltr">That's how I would interpret it. Are the files sti present?</p>
<p dir="ltr">Are the methods really coming from newlib?</p>
<p dir="ltr">> ...<br>
> duhuanpeng.<br>
> u74147@<a href="http://gmail.com">gmail.com</a><br>
><br>
><br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a></p>