[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAF=mWJOF21M+4ZRDAdgNNszshrsGRXBKx7QcDZjpb8VnSE7bGw@mail.gmail.com>
Date: Thu, 15 Feb 2024 06:45:12 -0800
From: Jon Maser <jonmaser8@...il.com>
To: LKML <linux-kernel@...r.kernel.org>, linux-c-programming@...r.kernel.org
Subject: hey I have an idea for a frontend for kernel make/configures
im new to kernel dev so sorry if im a newb!
im not sure if im supposed to do this to the config file or make file
first of all you can, by an argument switch, print stdout from xmake
and output std in for some kind of gui program i think, like xmake
--gui || xmakegui, and it can be piped to a gui stdin, i think.
you can do, i'll call it, xmake
xmake newproject --source=$dir --config=$path_to_config --output=/usr/src/$var
that will tell xmake to read the source dir, read the config file, and
output new projects through output.
configs can be configured in complex or simple ways, stuff like values
in the arch configs, maybe you can use machine learning to scan stuff
and make a good config, or maybe do some shell action, maybe do some
fancy sed/awk dancing, and sed/awk could be useful for gpt3
you can also do xmake newproject kernel and generate a new kernel
config, or xmake git://github.com --profile=`wget $url/7.2-ml.cfg`
(outputs to /usr/src/7.2-ml)
id write it but im a little strapped for time, have class
but heres the stuff id like to put in xmake to start, just the
commands, your free to implement yourself
xmake newproject calculator --config=$mathopt
(no output outputs the source files to a default directory)
and theres deleteproject, profileproject (builds a heuristic profile
of the source for optimized builds), ai-build (which takes string
queries i guess, might be slow) and machine learning for when that
gets to linux. i can imagine stuff like intelligent stacks and queues
with ai, along with liminal speed
and a backup option
if you want to implement this for your workstation or see if you can
include it in the linux kernel it'd be great, its just as easy as
building a skeleton project and possibly some parsing, id do python
but its just as fun in c or cpp
Powered by blists - more mailing lists