Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #62725

Re: why is the build so complex ?

From Bjørn Mork <bjorn@mork.no>
Newsgroups linux.debian.kernel
Subject Re: why is the build so complex ?
Date 2018-12-14 15:10 +0100
Message-ID <x4Wka-mY-21@gated-at.bofh.it> (permalink)
References <x4VxM-8jG-9@gated-at.bofh.it>
Organization m

Show all headers | View raw


"Enrico Weigelt, metux IT consult" <lkml@metux.net> 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

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

why is the build so complex ? "Enrico Weigelt, metux IT consult" <lkml@metux.net> - 2018-12-14 14:20 +0100
  Re: why is the build so complex ? Bjørn Mork <bjorn@mork.no> - 2018-12-14 15:10 +0100
  Re: why is the build so complex ? Yves-Alexis Perez <corsac@debian.org> - 2018-12-14 16:00 +0100
  Re: [devuan-dev] why is the build so complex ? Nico Schottelius <nico.schottelius@ungleich.ch> - 2018-12-14 22:20 +0100
  Re: why is the build so complex ? Ben Hutchings <ben@decadent.org.uk> - 2018-12-15 16:40 +0100
    Re: why is the build so complex ? "Enrico Weigelt, metux IT consult" <lkml@metux.net> - 2018-12-17 13:20 +0100
      Re: why is the build so complex ? Ben Hutchings <ben@decadent.org.uk> - 2018-12-17 16:30 +0100

csiph-web