:: Re: [devuan-dev] why is the build s…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Bjørn Mork
Päiväys:  
Vastaanottaja: Enrico Weigelt\, metux IT consult
Kopio: debian-kernel, devuan developers internal list
Aihe: Re: [devuan-dev] why is the build so complex ?
"Enrico Weigelt, metux IT consult" <lkml@???> writes:

> while trying to build a debian kernel w/ some minor config changes
> (actually, just need the gpio keyboard modules),


Can't help with answers to your questions, but i believe I can help with
this task. It's as simple as

 $ git clone https://github.com/notro/fbtft_tools.git
 Cloning into 'fbtft_tools'...
 remote: Enumerating objects: 95, done.
 remote: Total 95 (delta 0), reused 0 (delta 0), pack-reused 95
 Unpacking objects: 100% (95/95), done.
 $ cd fbtft_tools/gpio_keys_device/
 $ make
 make -C /lib/modules/4.18.0-3-amd64/build M=/usr/local/src/git/fbtft_tools/gpio_keys_device modules
 make[1]: Entering directory '/usr/src/linux-headers-4.18.0-3-amd64'
   CC [M]  /usr/local/src/git/fbtft_tools/gpio_keys_device/gpio_keys_device.o
   Building modules, stage 2.
   MODPOST 1 modules
   CC      /usr/local/src/git/fbtft_tools/gpio_keys_device/gpio_keys_device.mod.o
   LD [M]  /usr/local/src/git/fbtft_tools/gpio_keys_device/gpio_keys_device.ko
 make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-3-amd64'



provided you have installed the linux-headers package matching your
kernel. No need to care about the Debian kernel patches and build
infrastructure at all.

Or did you mean something else?


Bjørn