kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Carter Cheng <cartercheng@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: which environment variables to use in KBUILD
Date: Wed, 12 Dec 2018 17:20:40 +0800	[thread overview]
Message-ID: <CALS6=qWV8WMm=Ssb=9rs7bbmiS6vZAjDxUMqQxpF4D=p7_Ew4w@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 489 bytes --]

Hi,

I have been looking through KBUILD and trying to determine some things but
my makefile skills are not completely up to par. I am wondering if there is
a specific variable for adding cflags to object files that are incorporated
into the vmlinux kernel image. I see there are three variables
KBUILD_VMLINUX_INIT/MAIN/LIBS that specify which files are linked in and it
should be relatively easy to modify the link phase but I don't see how to
add or modify the cflags.

Thanks,

Carter.

[-- Attachment #1.2: Type: text/html, Size: 588 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

                 reply	other threads:[~2018-12-12  9:23 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='CALS6=qWV8WMm=Ssb=9rs7bbmiS6vZAjDxUMqQxpF4D=p7_Ew4w@mail.gmail.com' \
    --to=cartercheng@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /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;
as well as URLs for NNTP newsgroup(s).