masahir0y / kbuild_skeleton Goto Github PK
View Code? Open in Web Editor NEWA template with Linux kernel like build system.
License: GNU General Public License v2.0
A template with Linux kernel like build system.
License: GNU General Public License v2.0
Is it worth to update kbuild and kconfig to latest Linux kernel? I've seen several patches were made in the meantime.
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
Hi,
I see that you are using this project case, should be a relatively old kernel. I think the new kernel is quite different from this comparison. Do you have time to strip out similar engineering cases from newer versions of the kernel? For example, the latest linux-6.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.