From: varkabhadram@gmail.com (Varka Bhadram)
To: kernelnewbies@lists.kernelnewbies.org
Subject: about pr_debug
Date: Wed, 25 Jun 2014 15:20:07 +0530 [thread overview]
Message-ID: <53AA9B4F.6080103@gmail.com> (raw)
In-Reply-To: <CA+5jrfkRLf8+kmGNchCWgn0_YT6yahnWJHMYXFcbOpY7gEZQ_Q@mail.gmail.com>
On 06/25/2014 03:17 PM, lx wrote:
> thank you.
> But the Makefile is so simple and Not use "cc".
> #################################
> obj-m := task_01.o
>
CFLAGS_task_01.o := -DDEBUG
> KDIR:=/lib/modules/`uname -r`/build
> PWD:=$(shell pwd)
>
> default:
> echo $KDIR
> $(MAKE) -C $(KDIR) M=$(PWD) modules
> #################################
>
> So, how to add "CFLAGS"?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140625/bf9912aa/attachment.html
next prev parent reply other threads:[~2014-06-25 9:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-25 6:09 about pr_debug lx
2014-06-25 6:34 ` Real Name
2014-06-25 6:48 ` Varka Bhadram
2014-06-25 8:20 ` Bjørn Mork
2014-06-25 9:47 ` lx
2014-06-25 9:50 ` Varka Bhadram [this message]
2014-06-25 9:57 ` lx
2014-06-25 6:55 ` anish singh
2014-06-25 7:38 ` Pranay Srivastava
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=53AA9B4F.6080103@gmail.com \
--to=varkabhadram@gmail.com \
--cc=kernelnewbies@lists.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.