We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm building a project, there are more than one libraries, so I move your example lib files to its subdirectory like following
lib ├── Kconfig ├── log_print │ ├── Kconfig │ ├── list_debug.c │ ├── log_print.c │ └── Makefile └── Makefile
cat lib/Makefile
lib-$(CONFIG_ENABLE_LOGGING) += log_print/
cat lib/Kconfig
source "lib/log_print/Kconfig"
cat lib/log_print/Makefile
lib-$(CONFIG_ENABLE_LOGGING) += log_print.o lib-$(CONFIG_DEBUG_LIST) += list_debug.o
lib/log_print/Kconfig stays the same as original lib/Kconfig lib/log_print/Makefile stays the same as original lib/Makefile
but error occurs when making, need your help, thanks
AR lib/lib.a ar: lib/log_print/: file format not recognized make[1]: *** [scripts/Makefile.build:237: lib/lib.a] Error 1 make: *** [Makefile:369: lib] Error 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm building a project, there are more than one libraries, so I move your example lib files to its subdirectory like following
cat lib/Makefile
cat lib/Kconfig
cat lib/log_print/Makefile
lib/log_print/Kconfig stays the same as original lib/Kconfig
lib/log_print/Makefile stays the same as original lib/Makefile
but error occurs when making, need your help, thanks
The text was updated successfully, but these errors were encountered: