Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

make

How to script make menuconfig to automate Linux kernel build configuration?

August 11, 2022 by Magenaut

I want to automate a Linux build but eventually get to a point where I need to run what seems to be a very manual step: make menuconfig. This seems to synchronize configs between the OS and kernel configs?

Categories Q&A, Unix & Linux Tags bash, linux-kernel, make Leave a comment

How to determine the maximum number to pass to make -j option?

August 10, 2022 by Magenaut

I want to compile as fast as possible. Go figure. And would like to automate the choice of the number following the -j option. How can I programmatically choose that value, e.g. in a shell script?

Categories Q&A, Unix & Linux Tags cpu, linux, make, multiprocessor, parallelism Leave a comment

How does this Makefile makes C program without even specifying a compiler?

August 10, 2022 by Magenaut

I was using a Makefile from the book “Advanced Linux Programming (2001)” [code]. It was strange for me to see that GNU make does compile the code correctly, without even specifying a compiler in the Makefile. It’s like baking without any recipe!

Categories Q&A, Unix & Linux Tags gcc, gnu-make, linux, make Leave a comment

Installing from source. How to resolve dependencies without destroying the package manager

August 8, 2022 by Magenaut

Compiling and installing software is a pain and problem I cannot overcome. I just want to run down through my understanding of this process with someone more knowledgeable to clear my mind to get to the next level.

Categories Q&A, Unix & Linux Tags make, software-installation Leave a comment
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress