mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Hirschberg Florian <Florian.Hirschberg@hmk.atlas-elektronik.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] Kernel config dependencies in out of tree modules
Date: Thu, 28 Jul 2016 10:18:07 +0000	[thread overview]
Message-ID: <5653108854194bcfab47bdcaaea71dc3@HMK-EX01.hmk.de> (raw)

Hi,

I'm building an out of tree kernel module with ptxdist-2016.04.0. It is a framebuffer driver for a SPI graphic LCD display.
Because no other framebuffer driver is selected in the kernel, some config options like CONFIG_FB_SYS_FOPS and CONFIG_SYS_COPYAREA etc. are not selected.
Compilation of my module fails because of missing symbols from the frambuffer core. When I select another framebuffer driver in the kernelconfig to build, for example the SSD1307 driver which selects all these config options mentioned above, everything works fine. However, this solution is not very clean. Is there a better way to get the module working with its dependencies to the framebuffer core?

Greetings,
Florian Hirschberg

---

Hagenuk Marinekommunikation GmbH
Dipl. Ing. (FH) Florian Hirschberg
Software Development

Hamburger Chaussee 25
D-24220 Flintbek
Germany
TEL : +49 4347 714 347
FAX : +49 4347 714 225
MAIL: florian.hirschberg@hmk.atlas-elektronik.com
WEB : www.hmk.atlas-elektronik.com

Geschäftsführung:
Dr.-Ing. Georg Marschall
Dipl.-Wirtsch.-Ing. (FH) Marco Beyl

Sitz der Gesellschaft: Flintbek
Register: Amtsgericht Kiel, HRB 1622-RD

************************************************************************
Diese Email inklusive aller Anhänge enthält vertrauliche Informationen
für den vorgesehenen Empfänger.
Wenn Sie nicht der vorgesehene Empfänger sind, bitten wir Sie darum,
diese Email aus Ihrem System zu löschen und den Absender zu informieren.
Sie dürfen diese Email nicht kopieren, sie nicht zu irgendeinem anderen
Zweck benutzen, sie nicht veröffentlichen und den Inhalt auch nicht an
andere Personen verteilen.
************************************************************************


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2016-07-28 10:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5653108854194bcfab47bdcaaea71dc3@HMK-EX01.hmk.de \
    --to=florian.hirschberg@hmk.atlas-elektronik.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox