📄 kbuild
字号:
## Kbuild file for all test files#test-files := $(wildcard $(srctree)/$(src)/*.c)test-files := $(notdir $(test-files))# This particular file uses a bunch of formats gcc don't know of, in order# to test the full range of our vsnprintf() function. This outputs a bunch# of useless warnings unless we tell it not to.KLIBCCFLAGS_testvsnp.o := -Wno-formatstatic-y := $(test-files:.c=)shared-y := $(addsuffix .shared, $(static-y))environ.shared-y := environ.ofcntl.shared-y := fcntl.ofnmatch.shared-y := fnmatch.ogetopttest.shared-y := getopttest.ogetoptlong.shared-y := getoptlong.ogetpagesize.shared-y := getpagesize.ohello.shared-y := hello.oidtest.shared-y := idtest.omalloctest.shared-y := malloctest.omalloctest2.shared-y := malloctest2.omemstrtest.shared-y := memstrtest.omicrohello.shared-y := microhello.ominihello.shared-y := minihello.ommaptest.shared-y := mmaptest.onfs_no_rpc.shared-y := nfs_no_rpc.oopentest.shared-y := opentest.opipetest.shared-y := pipetest.ortsig.shared-y := rtsig.oselect.shared-y := select.osetenvtest.shared-y := setenvtest.osetjmptest.shared-y := setjmptest.osigint.shared-y := sigint.ostat.shared-y := stat.ostatfs.shared-y := statfs.ostrlcpycat.shared-y := strlcpycat.ostrtoimax.shared-y := strtoimax.ostrtotime.shared-y := strtotime.otestrand48.shared-y := testrand48.otestvsnp.shared-y := testvsnp.ovfork.shared-y := vfork.o# Cleaningclean-files := $(static-y) $(shared-y) \ $(addsuffix .g, $(static-y) $(shared-y)) \ $(test-files:.c=.o)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -