mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* make checkconfig problem
@ 2003-09-04 19:34 Randy.Dunlap
  2003-09-04 20:27 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2003-09-04 19:34 UTC (permalink / raw)
  To: lkml; +Cc: sam, kai.germaschewski, cherry


You probably already know this...

Someone mentioned to me that 'make checkconfig' isn't working.
However, 'make checkincludes' does work.

'checkconfig' contains the string 'config', which implies to Makefile
that this is a configs-target...

Using a target named 'checkconf' works.   Patch is below.
Or fix it however you like, of course.

--
~Randy


patch_name:	check_targets.patch
patch_version:	2003-09-04.12:31:41
author:		Randy.Dunlap <rddunlap@osdl.org>
description:	make checkconf so that it won't be a configs-target
product:	Linux
product_versions: 2.6.0-test4


diff -Naur ./Makefile~targets ./Makefile
--- ./Makefile~targets	2003-09-04 11:06:45.000000000 -0700
+++ ./Makefile	2003-09-04 12:23:55.000000000 -0700
@@ -815,7 +815,7 @@
 # Scripts to check various things for consistency
 # ---------------------------------------------------------------------------
 
-checkconfig:
+checkconf:
 	find * $(RCS_FIND_IGNORE) \
 		-name '*.[hcS]' -type f -print | sort \
 		| xargs $(PERL) -w scripts/checkconfig.pl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make checkconfig problem
  2003-09-04 19:34 make checkconfig problem Randy.Dunlap
@ 2003-09-04 20:27 ` Sam Ravnborg
  2003-09-05  0:56   ` Randy.Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2003-09-04 20:27 UTC (permalink / raw)
  To: Randy.Dunlap; +Cc: lkml, sam, kai.germaschewski, cherry, Linus Torvalds

On Thu, Sep 04, 2003 at 12:34:52PM -0700, Randy.Dunlap wrote:
> 
> You probably already know this...
> 
> Someone mentioned to me that 'make checkconfig' isn't working.
> However, 'make checkincludes' does work.

It had crossed my mind, and my plan was actually to get rid of them
since the scripts were not updated. Good to see you are looking into
this now.

If we want to keep them in the kernel, I suggest a new naming:
configcheck:
includecheck:

This follows the *config pattern, but suffixed with check.

A tangent - could it be possible to build this into sparse instead?
The plan is to give it more kernel awareness anyway, so it should
be simple to check for the above as well.

	Sam

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: make checkconfig problem
  2003-09-04 20:27 ` Sam Ravnborg
@ 2003-09-05  0:56   ` Randy.Dunlap
  0 siblings, 0 replies; 3+ messages in thread
From: Randy.Dunlap @ 2003-09-05  0:56 UTC (permalink / raw)
  To: sam; +Cc: linux-kernel, kai.germaschewski, cherry, torvalds

> On Thu, Sep 04, 2003 at 12:34:52PM -0700, Randy.Dunlap wrote:
>>
>> You probably already know this...
>>
>> Someone mentioned to me that 'make checkconfig' isn't working.
>> However, 'make checkincludes' does work.
>
> It had crossed my mind, and my plan was actually to get rid of them since
> the scripts were not updated. Good to see you are looking into this now.

They work now, and I'd like to add 'checkversion.pl' as well.

> If we want to keep them in the kernel, I suggest a new naming:
> configcheck:
> includecheck:
>
> This follows the *config pattern, but suffixed with check.

OK, I don't mind how they are spelled.

> A tangent - could it be possible to build this into sparse instead? The plan
> is to give it more kernel awareness anyway, so it should
> be simple to check for the above as well.

I don't know, but I'll discuss it with Dave Olien.

Thanks,
~Randy




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-05  0:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 19:34 make checkconfig problem Randy.Dunlap
2003-09-04 20:27 ` Sam Ravnborg
2003-09-05  0:56   ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®