public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* moving "tools" into the tools/ directory?
@ 2009-08-08 15:57 Robert P. J. Day
  2009-08-08 20:32 ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2009-08-08 15:57 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  is there a standard for moving command-line tools into the top-level
tools/ directory?  as in, Documentation/fs/slabinfo.c?  stuff like
that?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

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

* Re: moving "tools" into the tools/ directory?
  2009-08-08 15:57 moving "tools" into the tools/ directory? Robert P. J. Day
@ 2009-08-08 20:32 ` Andi Kleen
  2009-08-09  9:08   ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2009-08-08 20:32 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List

"Robert P. J. Day" <rpjday@crashcourse.ca> writes:

>   is there a standard for moving command-line tools into the top-level
> tools/ directory?  as in, Documentation/fs/slabinfo.c?  stuff like
> that?

I did some moving of such files from Documentation to tool in a git
tree some time ago, but to make it actually all build sanely --
especially with separate objdirs and/or cross compilation -- would
require major Makefile surgery first.

Current perf is a big pita for separate objdirs and cross compilation
already and it would be probably not a good idea to make it worse for
now.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

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

* Re: moving "tools" into the tools/ directory?
  2009-08-08 20:32 ` Andi Kleen
@ 2009-08-09  9:08   ` Andi Kleen
  0 siblings, 0 replies; 3+ messages in thread
From: Andi Kleen @ 2009-08-09  9:08 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List

Andi Kleen <andi@firstfloor.org> writes:

> "Robert P. J. Day" <rpjday@crashcourse.ca> writes:
>
>>   is there a standard for moving command-line tools into the top-level
>> tools/ directory?  as in, Documentation/fs/slabinfo.c?  stuff like
>> that?
>
> I did some moving of such files from Documentation to tool in a git
> tree some time ago, but to make it actually all build sanely --
> especially with separate objdirs and/or cross compilation -- would
> require major Makefile surgery first.

As a followup the original rename git tree (with still some problems)
is at 

git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6.git tools-rename

In case anyone wants to play with it.

-Andi


The following changes since commit 28d0325ce6e0a52f53d8af687e6427fee59004d3:
  Linus Torvalds (1):
        Linux 2.6.31-rc1

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6.git tools-rename

Andi Kleen (14):
      Add top level Kbuild makefile in tools/
      Move Documentation/connector source files to tools/connector
      Move Documentation/watchdog/src to tools/watchdog
      Move Documentation/lguest source files to tools
      Move source files from Documentation/accounting to tools/accounting
      Mov source files from Documentation/vm to tools/vm
      Move source files from Documentation/networking to tools/networking
      Move source files in Documentation/ia64 to tools/ia64
      Move Documentation/prctl to tools/prctl
      Move source files from Documentation/auxdisplay to tools/auxdisplay
      Move source files from Documentation/video4linux to tools/video4linux
      Move source files in Documentation/pcmcia into tools/pcmcia
      Move source files from Documentation/spi to tools/spi
      lguest fix, incomplete

 Documentation/Makefile                             |    4 +---
 Documentation/lguest/Makefile                      |    7 -------
 tools/Makefile                                     |    4 ++++
 {Documentation => tools}/accounting/.gitignore     |    0
 {Documentation => tools}/accounting/Makefile       |    2 +-
 {Documentation => tools}/accounting/getdelays.c    |    0
 {Documentation => tools}/auxdisplay/.gitignore     |    0
 {Documentation => tools}/auxdisplay/Makefile       |    0
 .../auxdisplay/cfag12864b-example.c                |    0
 {Documentation => tools}/connector/.gitignore      |    0
 {Documentation => tools}/connector/Makefile        |    0
 {Documentation => tools}/connector/cn_test.c       |    0
 {Documentation => tools}/connector/ucon.c          |    0
 {Documentation => tools}/ia64/.gitignore           |    0
 {Documentation => tools}/ia64/Makefile             |    0
 {Documentation => tools}/ia64/aliasing-test.c      |    0
 {Documentation => tools}/lguest/.gitignore         |    0
 .../video4linux => tools/lguest}/Makefile          |    8 +++++---
 {Documentation => tools}/lguest/extract            |    0
 {Documentation => tools}/lguest/lguest.c           |    0
 {Documentation => tools}/networking/Makefile       |    0
 {Documentation => tools}/networking/ifenslave.c    |    0
 .../networking/timestamping/.gitignore             |    0
 .../networking/timestamping/Makefile               |    0
 .../networking/timestamping/timestamping.c         |    0
 {Documentation => tools}/pcmcia/.gitignore         |    0
 {Documentation => tools}/pcmcia/Makefile           |    0
 {Documentation => tools}/pcmcia/crc32hash.c        |    0
 .../prctl/disable-tsc-ctxt-sw-stress-test.c        |    0
 .../prctl/disable-tsc-on-off-stress-test.c         |    0
 {Documentation => tools}/prctl/disable-tsc-test.c  |    0
 {Documentation => tools}/spi/.gitignore            |    0
 {Documentation => tools}/spi/Makefile              |    0
 {Documentation => tools}/spi/spidev_fdx.c          |    0
 {Documentation => tools}/spi/spidev_test.c         |    0
 {Documentation => tools}/video4linux/.gitignore    |    0
 {Documentation => tools}/video4linux/Makefile      |    0
 {Documentation => tools}/video4linux/v4lgrab.c     |    0
 {Documentation => tools}/vm/.gitignore             |    0
 {Documentation => tools}/vm/Makefile               |    0
 {Documentation => tools}/vm/page-types.c           |    0
 {Documentation => tools}/vm/slabinfo.c             |    0
 .../watchdog/src => tools/watchdog}/.gitignore     |    0
 .../watchdog/src => tools/watchdog}/Makefile       |    0
 .../src => tools/watchdog}/watchdog-simple.c       |    0
 .../src => tools/watchdog}/watchdog-test.c         |    0
 46 files changed, 11 insertions(+), 14 deletions(-)
 delete mode 100644 Documentation/lguest/Makefile
 create mode 100644 tools/Makefile
 rename {Documentation => tools}/accounting/.gitignore (100%)
 rename {Documentation => tools}/accounting/Makefile (80%)
 rename {Documentation => tools}/accounting/getdelays.c (100%)
 rename {Documentation => tools}/auxdisplay/.gitignore (100%)
 rename {Documentation => tools}/auxdisplay/Makefile (100%)
 rename {Documentation => tools}/auxdisplay/cfag12864b-example.c (100%)
 rename {Documentation => tools}/connector/.gitignore (100%)
 rename {Documentation => tools}/connector/Makefile (100%)
 rename {Documentation => tools}/connector/cn_test.c (100%)
 rename {Documentation => tools}/connector/ucon.c (100%)
 rename {Documentation => tools}/ia64/.gitignore (100%)
 rename {Documentation => tools}/ia64/Makefile (100%)
 rename {Documentation => tools}/ia64/aliasing-test.c (100%)
 rename {Documentation => tools}/lguest/.gitignore (100%)
 copy {Documentation/video4linux => tools/lguest}/Makefile (50%)
 rename {Documentation => tools}/lguest/extract (100%)
 rename {Documentation => tools}/lguest/lguest.c (100%)
 rename {Documentation => tools}/networking/Makefile (100%)
 rename {Documentation => tools}/networking/ifenslave.c (100%)
 rename {Documentation => tools}/networking/timestamping/.gitignore (100%)
 rename {Documentation => tools}/networking/timestamping/Makefile (100%)
 rename {Documentation => tools}/networking/timestamping/timestamping.c (100%)
 rename {Documentation => tools}/pcmcia/.gitignore (100%)
 rename {Documentation => tools}/pcmcia/Makefile (100%)
 rename {Documentation => tools}/pcmcia/crc32hash.c (100%)
 rename {Documentation => tools}/prctl/disable-tsc-ctxt-sw-stress-test.c (100%)
 rename {Documentation => tools}/prctl/disable-tsc-on-off-stress-test.c (100%)
 rename {Documentation => tools}/prctl/disable-tsc-test.c (100%)
 rename {Documentation => tools}/spi/.gitignore (100%)
 rename {Documentation => tools}/spi/Makefile (100%)
 rename {Documentation => tools}/spi/spidev_fdx.c (100%)
 rename {Documentation => tools}/spi/spidev_test.c (100%)
 rename {Documentation => tools}/video4linux/.gitignore (100%)
 rename {Documentation => tools}/video4linux/Makefile (100%)
 rename {Documentation => tools}/video4linux/v4lgrab.c (100%)
 rename {Documentation => tools}/vm/.gitignore (100%)
 rename {Documentation => tools}/vm/Makefile (100%)
 rename {Documentation => tools}/vm/page-types.c (100%)
 rename {Documentation => tools}/vm/slabinfo.c (100%)
 rename {Documentation/watchdog/src => tools/watchdog}/.gitignore (100%)
 rename {Documentation/watchdog/src => tools/watchdog}/Makefile (100%)
 rename {Documentation/watchdog/src => tools/watchdog}/watchdog-simple.c (100%)
 rename {Documentation/watchdog/src => tools/watchdog}/watchdog-test.c (100%)



-- 
ak@linux.intel.com -- Speaking for myself only.

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

end of thread, other threads:[~2009-08-09  9:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-08 15:57 moving "tools" into the tools/ directory? Robert P. J. Day
2009-08-08 20:32 ` Andi Kleen
2009-08-09  9:08   ` Andi Kleen

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