Skip to contentSkip to conversation

Do we really need file `all'?

DISCUSSION Jike Song 2 participants 5 messages Dec 30, 2008 Kbuild

lore
Share & tools
lore

Jike Song

author
#0 lore raw

Hi Sam,

In commit a680eedc6c621c75695c68198533fc3c98f4053b you introduced the
following code:

        exuberant()
        {
                all_sources > all
                all_sources | xargs ....{snip}...

This will generate a regular file named `all' in the repository, which is not included in .gitignore.
Do we really need this file? I think the second run of all_source is enough. Or otherwise should
we add it into .gitignore?

I'm not subscribing linux-kbuild list so please CC me in replies, thanks.

Signature · 2 lines
Thanks,
Jike
author
#1 lore raw
Quoted 10 lines · Jike Song

Hi Sam,

In commit a680eedc6c621c75695c68198533fc3c98f4053b you introduced the
following code:

       exuberant()
       {
               all_sources > all
               all_sources | xargs ....{snip}...
Quoted 8 lines

This will generate a regular file named `all' in the repository, which is not included in .gitignore.
Do we really need this file? I think the second run of all_source is enough. Or otherwise should
we add it into .gitignore?

I'm not subscribing linux-kbuild list so please CC me in replies, thanks.

Besides, there are still some asm-{arch} under include/ now. The current kbuild/scripts will find them by default, which seems not to be a good idea:

$ grep "include/asm-" cscope.files |awk -F"/" '{ print $2 }'|uniq
asm-generic
asm-frv
asm-h8300
asm-m68k
asm-mn10300
asm-m32r
asm-arm
asm-xtensa
Signature · 2 lines
Thanks,
Jike
#4 lore raw
In reply to Jike Song
Quoted 10 lines · Jike Song

Hi Sam,

In commit a680eedc6c621c75695c68198533fc3c98f4053b you introduced the
following code:

        exuberant()
        {
                all_sources > all
                all_sources | xargs ....{snip}...
Quoted 7 lines

This will generate a regular file named `all' in the repository, which is not included in .gitignore.
Do we really need this file? I think the second run of all_source is enough. Or otherwise should
we add it into .gitignore?

I'm not subscribing linux-kbuild list so please CC me in replies, thanks.

Thanks for the report. I have queued following fix:

Sam

From da20e8358e3408a208a2a7056eaff550c8644c9d Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <[email protected]>
Date: Tue, 30 Dec 2008 10:20:08 +0100
Subject: [PATCH] kbuild: drop debugging leftover in tags.sh

Noticed by Jike.

---
 scripts/tags.sh |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
scripts/tags.sh +0 -1
index 4e75472..9e3451d 100755
@@ -84,7 +84,6 @@ docscope()
 
 exuberant()
 {
-	all_sources > all
 	all_sources | xargs $1 -a                               \
 	-I __initdata,__exitdata,__acquires,__releases          \
 	-I __read_mostly,____cacheline_aligned                  \
Signature · 1 line
1.6.0.2.GIT
#2 lore raw
In reply to Jike Song
Quoted 25 lines · Jike Song
Quoted 10 lines · Jike Song

Hi Sam,

In commit a680eedc6c621c75695c68198533fc3c98f4053b you introduced the
following code:

       exuberant()
       {
               all_sources > all
               all_sources | xargs ....{snip}...
Quoted 8 lines

This will generate a regular file named `all' in the repository, which is not included in .gitignore.
Do we really need this file? I think the second run of all_source is enough. Or otherwise should
we add it into .gitignore?

I'm not subscribing linux-kbuild list so please CC me in replies, thanks.

Besides, there are still some asm-{arch} under include/ now. The current kbuild/scripts will find them by default, which seems not to be a good idea:

Quoted 9 lines
$ grep "include/asm-" cscope.files |awk -F"/" '{ print $2 }'|uniq
asm-generic
asm-frv
asm-h8300
asm-m68k
asm-mn10300
asm-m32r
asm-arm
asm-xtensa

All architectures are scehuled to move their .h files to arch/$ARCH/include/* in this merge window.

So when this has happened we are all clear.

Sam

author
#3 lore raw
Quoted 3 lines · Sam Ravnborg

All architectures are scehuled to move their .h files to arch/$ARCH/include/* in this merge window.

Good news, thanks for the clarification;-)

Signature · 2 lines
Thanks,
Jike