kbuild Questions
1
My goal is to change kbuild configs using the command line without messing up dependencies.
For this I've created a 'reference' config by editing my default .config with make menuconfig. The 'only...
Ardy asked 23/11, 2014 at 15:11
2
Here is my cmake to build linux kernle hello world module.
if ( UNIX )
# Version number
set ( DRV_MAJOR 1 )
set ( DRV_MINOR 0 )
set ( DRV_PATCH 0 )
set ( DRV_VERSION ${DRV_MAJOR}.${DRV_MINO...
3
I am planning to add support for menuconfig in my project. The project is not associated with Linux kernel so, I have to write everything from scratch in menuconfig and Makefile.
How do I add supp...
Dyad asked 17/9, 2013 at 4:1
2
Solved
I can use the following command to create a Linux kernel .config file based on a specified architecture default for a custom ARM-based board:
ARCH=arm make defconfig KBUILD_DEFCONFIG=var_som_mx6_a...
Ellene asked 26/1, 2017 at 23:46
2
Solved
I have a Linux kernel image in elf format and I want to find out what .config file was used to build this kernel. When I do an objdump of the image, I see a section called kernel_config_data that c...
Hothead asked 19/2, 2013 at 13:2
1
Solved
Let generate_testapi.py be a script in my Linux kernel module's source tree, that ingests mymod_test.h and generates a interface source file toward userland (ioctl, debugfs, you name it), and lets ...
Bacchanalia asked 30/8, 2016 at 23:21
6
I'm confronting the Linux kernel build system (Kbuild, kernel ≥2.6.28) with the directory structure and build system for a larger project. Our project contains an out-of-tree Linux kernel module, a...
Swirly asked 19/4, 2011 at 15:32
3
Solved
While compiling Linux from scratch I realize that there are compile codes that appear while compiling.
For example CC filename , LD filename, CC[M] filename.
What do these codes mean?
Valonia asked 28/7, 2012 at 2:37
2
Solved
In Kernel Makefile i found the code like below:
ctags CTAGS CSCOPE: $(HEADERS) $(SOURCES)
$(ETAGS) $(ETAGSFALGS) $(HEADERS) $(SOURCES)
$(call cmd, ctags)
Also, where can i find the Macro or f...
Lacey asked 21/5, 2014 at 5:23
1
Solved
When i'm developing a linux driver, i've read about how to write linux kbuild makefile through this document
I know kbuild system use makefile variables such as obj-y obj-m to determine what to b...
Orgiastic asked 24/3, 2015 at 11:47
2
Solved
I have done make menuconfig for a board defconfig and modified few configurations. When I select save, a new .config was created in the Kernel top directory.
I want to create new defconfig for thi...
Nikolos asked 12/1, 2015 at 9:47
1
I understand there is an option to add compile-time macros/definitions to the Kconfig file that can be used in the code.
(For example, some definition of a constant, like a #define).
Alimony asked 11/11, 2013 at 20:36
2
Solved
I'm working with a LeopardBoard DM368 and I want to enable some video hardware. The relevant modules are vpfe-capture, isif, and tvp7002.
I've written a defconfig file with what I believe to be t...
Iceman asked 6/5, 2012 at 15:10
1
© 2022 - 2024 — McMap. All rights reserved.