when the getcwd.c is compiled?
printk
opentkernel at 163.com
Wed Apr 27 11:31:27 UTC 2016
Hello, I am translating Makefile.am(s) to kbuild
> #
> # DIRECTORY_SCAN_C_FILES =
> # ## Newlib SHOULD have provided this one
> # DIRECTORY_SCAN_C_FILES += src/readdir_r.c
> # ## Comment out when using these from newlib's unix directory
> # DIRECTORY_SCAN_C_FILES += src/getcwd.c
> #
> # ID_C_FILES = src/getegid.c src/geteuid.c src/getgid.c src/getgroups.c \
> # src/getlogin.c src/getpgrp.c src/getpid.c src/getppid.c src/getuid.c \
> # src/seteuid.c src/setgid.c src/setuid.c src/setegid.c src/setpgid.c \
> # src/setsid.c
>
> CONFIG_DIRECTORY_SCAN_C_FILES := y
> obj-$(CONFIG_DIRECTORY_SCAN_C_FILES) += readdir_r.o
> #ERROR obj-$(CONFIG_DIRECTORY_SCAN_C_FILES) += getcwd.o
--> # ## Comment out when using these from newlib's unix directory
is this means when compiling with newlib, the getcwd.c is not needed?
now the arm-rtemsX.XX-gcc is with newlib. is this file not compiled?
...
duhuanpeng.
u74147@gmail.com
More information about the devel
mailing list