lkml.org 
[lkml]   [2012]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] move vm tools from Documentation/vm/ to tools/
On 02/01/2012 02:34 PM, Dave Young wrote:
> tools/ is the better place for vm tools which are used by many people.
> Moving them to tools also make them open to more users instead of hide in
> Documentation folder.

Well, hugepage-mmap, hugepage-shm, and map_hugetlb are examples, not
really tools. So, only page-types is probably a tool, but I leave this
to Fengguang to decide.

>
> Also fixed several coding style problem.

Make it another patch for people to review. :)

[...]
> diff --git a/tools/vm/Makefile b/tools/vm/Makefile
> new file mode 100644
> index 0000000..b4f9fdd
> --- /dev/null
> +++ b/tools/vm/Makefile
> @@ -0,0 +1,11 @@
> +# Makefile for vm tools
> +
> +CC = $(CROSS_COMPILE)gcc
> +CFLAGS = -Wall -Wextra
> +
> +all: page-types hugepage-mmap hugepage-shm map_hugetlb
> +%: %.c
> + $(CC) $(CFLAGS) -o $@ $^
> +
> +clean:
> + $(RM) page-types hugepage-mmap hugepage-shm map_hugetlb

Is $(RM) defined?


\
 
 \ /
  Last update: 2012-02-01 07:49    [from the cache]
©2003-2011 Jasper Spaans