All of lore.kernel.org
 help / color / mirror / Atom feed
From: ppokorny@penguincomputing.com (Philip Pokorny)
To: lm-sensors@vger.kernel.org
Subject: mkpatch works
Date: Thu, 19 May 2005 06:24:01 +0000	[thread overview]
Message-ID: <3EF7510D.9050001@penguincomputing.com> (raw)
In-Reply-To: <3EF5B5CE.6050103@paradyne.com>

When we make a patch, why not generate the sensors.h and then put the 
result in the patch for installation in include/linux/sensors.h or similar.

If you're going to compile user space code against your patched kernel, 
you're going to need that header file and I would expect that the 
user-space command line would need to specify:
    -I/lib/modules/$(uname -r)/build/include
or it's equivalent...

:v)

Mark D. Studebaker wrote:
> I think that sensors.h (which is autogenerated now) is now userspace-only
> (it isn't included by any chip driver). So I'll remove it from FILES and 
> INCLUDES.
> 
> Mark M. Hoffman wrote:
> 
>> * Mark M. Hoffman <mhoffman@lightlink.com> [2003-06-22 11:17:05 -0400]:
>>
>>> * Mark D. Studebaker <mds@paradyne.com> [2003-06-22 09:57:34 -0400]:
>>>
>>>> I got mkpatch working on both i2c and sensors,
>>>> both configuring as modules and compiling-in.
>>>> Please test.
>>>>
>>>> A few hints:
>>>>
>>>> - Follow steps in order: generate and apply i2c patch; then generate 
>>>> and apply sensors patch.
>>>
>>>
>>> I2C mkpatch works and applies cleanly to 2.4.9.
>>>
>>> Then lm_sensors mkpatch says this:
>>>
>>> Can't open './kernel/include/sensors.h' at mkpatch/mkpatch.pl line 1432.
>>>
>>> Is that file generated on the fly now?
>>
>>
>>
>> Hmmm, it's in there... but 'make clean' deleted it.  Is that the right 
>> thing
>> for 'make clean' to do?
>>
>> Regards,
>>
> 



-- 
Philip Pokorny, Director of Engineering
Tel: 415-358-2635   Fax: 415-358-2646   Toll Free: 888-PENGUIN
PENGUIN COMPUTING, INC.
www.penguincomputing.com

  parent reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 mkpatch works Mark D. Studebaker 
2005-05-19  6:24 ` Mark M. Hoffman
2005-05-19  6:24 ` Philip Pokorny [this message]
2005-05-19  6:24 ` Mark M. Hoffman
2005-05-19  6:24 ` Mark M. Hoffman
2005-05-19  6:24 ` Mark D. Studebaker 
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Philip Pokorny
2005-05-19  6:24 ` Mark M. Hoffman
2005-05-19  6:24 ` Mark D. Studebaker 
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Mark M. Hoffman
2005-05-19  6:24 ` Mark D. Studebaker 

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=3EF7510D.9050001@penguincomputing.com \
    --to=ppokorny@penguincomputing.com \
    --cc=lm-sensors@vger.kernel.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.