Questions tagged [kconfig]

For KDE configuration settings. Use tag [kbuild] for Linux config-tool based questions.

KConfig is used to access abstracted configuration settings under the KDE platform.

For questions on menuconfig or the Linux kernels configuration infrastructure, commonly referred to as Kconfig, please use the tag.

9 questions
0
votes
0 answers

Compiling external firmware into kernel with CONFIG_EXTRA_FIRMWARE - Make failing with "No rule to make target"

I have some pre-compiled firmware blobs, including foo.bin, that I'd like to have included in the kernel binary that I'm compiling so it can be accessed in early boot. I've included "foo.bin" in CONFIG_EXTRA_FIRMWARE, but when I set…
thisisbenmanley
  • 386
  • 2
  • 9
0
votes
0 answers

How to remove the "config_" prefix of a specific define in AutoConf.h

Generally, KCONFIG will add config_ prefix to the Config item, but this is not compatible with my code. I hope to remove prefixes for specific Config items so that I can modify the code less. I heard that modifying Config_ Environment variables can…
0
votes
0 answers

How can I maintain my_own Kernel default config?

I am trying to maintain my own Kernel default config in a separate directory. For example, I want to make my_config under /linux-5.15.95 and keep my own Kernel default config file in the directory. But if I do so, Kernel make file was not able to…
Cprogrammer
  • 153
  • 9
0
votes
0 answers

Cant Make Prepare in Kernel-LT on Centos 7.9

I am trying to merge code with the kernel and then compile, but when I run make prepare, I get the following error: [root@localhost 5.4.231-1.el7.elrepo.x86_64]# make prepare /usr/src/kernels/5.4.231-1.el7.elrepo.x86_64/Makefile:678: …
user1955162
  • 797
  • 2
  • 6
  • 21
0
votes
1 answer

How to check Kconfig flag in C source code

I am new to Linux and Kconfig. I have a config enabled in a Kconfig file as follows : config ENABLE_MY_CONFIG bool "Enable my config" default n help Say Y if you want to enable my config I don't have everything included here, but…
Engineer999
  • 3,683
  • 6
  • 33
  • 71
0
votes
1 answer

Add current sdkconfig defines to Visual Studio Code

I work with ESP32 IDF4.2 in Visual Studio Code. I have lots of configurations and options set by the precompiler through the 'menuconfig' tool that generates a sdkconfig in /proyectx/build/ It would be quite useful to have that file taken by the…
Ste Ak
  • 1
0
votes
1 answer

Change default location of sdkconfig file

The project is based on ESP-IDF v4. It can be built for several platforms. Currently I'm trying to enable full out-of-source build approach and sdkconfig is the only auto-generated file that remains in the source tree. By default it is saved in the…
0
votes
2 answers

How to load default settings with KConfig on kdelib?

I've a question about KConfig usage. I'm able to write and read settings in my .kde4/share/config/_appname_rc configuration file like that KConfig basicconf; KConfigGroup conf = KConfigGroup(basicconf.group("Settings")); …
Emilio
  • 3,901
  • 11
  • 44
  • 50
-1
votes
1 answer

How to specify config file for building buildroot?

I downloaded buildroot package and tried to build using a config file under /configs directory such as raspberrypi3_64_defconfig. If I run make menuconfig, menuconfig screen loads a default config. If I copy the raspberrypi3_64_defconfig under…
Cprogrammer
  • 153
  • 9