fs/procfs: The procfsversion should be under control of FS_PROCFS_EXCLUDE_VERSION
Env sim:nsh - CONFIG_FS_PROCFS_EXCLUDE_PROCESS=y Error LD: nuttx /usr/bin/ld: nuttx.rel:(.rodata.g_procfs_entries+0xc8): undefined reference to `g_version_operations' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:429: nuttx] Error 1 make: *** [tools/Unix.mk:551: nuttx] Error 2 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
3d90079f50
commit
4266580319
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
#include "fs_heap.h"
|
||||
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_FS_PROCFS)
|
||||
#ifndef CONFIG_FS_PROCFS_EXCLUDE_PROCESS
|
||||
#ifndef CONFIG_FS_PROCFS_EXCLUDE_VERSION
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
|
Loading…
Reference in a new issue