public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] add make install
@ 2011-11-14  9:11 Alexey Fisher
  2011-11-14  9:38 ` Sven Eckelmann
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Fisher @ 2011-11-14  9:11 UTC (permalink / raw)
  To: lindner_marek, b.a.t.m.a.n

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
---
 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 5762721..44bad88 100644
--- a/Makefile
+++ b/Makefile
@@ -42,3 +42,6 @@ all:
 
 clean:
 	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) clean
+
+install:
+	@cp batman-adv.ko $(shell dirname $(KERNELPATH))/kernel/net/batman-adv/batman-adv.ko
-- 
1.7.5.4


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

* Re: [B.A.T.M.A.N.] [PATCH] add make install
  2011-11-14  9:11 [B.A.T.M.A.N.] [PATCH] add make install Alexey Fisher
@ 2011-11-14  9:38 ` Sven Eckelmann
  2011-11-14 10:19   ` Alexey Fisher
  2011-11-14 10:21   ` Sven Eckelmann
  0 siblings, 2 replies; 7+ messages in thread
From: Sven Eckelmann @ 2011-11-14  9:38 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: lindner_marek

[-- Attachment #1: Type: text/plain, Size: 889 bytes --]

On Monday 14 November 2011 10:11:32 Alexey Fisher wrote:
> Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
> ---
>  Makefile |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 5762721..44bad88 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -42,3 +42,6 @@ all:
> 
>  clean:
>  	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) clean
> +
> +install:
> +	@cp batman-adv.ko $(shell dirname
> $(KERNELPATH))/kernel/net/batman-adv/batman-adv.ko

NAck: Sven Eckelmann <sven@narfation.org>

Please read in the current linux sources Documentation/kbuild/modules.txt

+install
+	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) modules_install

or to override the old version that is included in the kernel

+install
+	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) INSTALL_MOD_DIR=kernel/net/batman-adv/ modules_install

Kind regards,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [B.A.T.M.A.N.] [PATCH] add make install
  2011-11-14  9:38 ` Sven Eckelmann
@ 2011-11-14 10:19   ` Alexey Fisher
  2011-11-14 10:29     ` Sven Eckelmann
  2011-11-14 10:21   ` Sven Eckelmann
  1 sibling, 1 reply; 7+ messages in thread
From: Alexey Fisher @ 2011-11-14 10:19 UTC (permalink / raw)
  To: Sven Eckelmann; +Cc: b.a.t.m.a.n, lindner_marek

On 14.11.2011 10:38, Sven Eckelmann wrote:
> On Monday 14 November 2011 10:11:32 Alexey Fisher wrote:
>> Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
>> ---
>>  Makefile |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/Makefile b/Makefile
>> index 5762721..44bad88 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -42,3 +42,6 @@ all:
>>
>>  clean:
>>  	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) clean
>> +
>> +install:
>> +	@cp batman-adv.ko $(shell dirname
>> $(KERNELPATH))/kernel/net/batman-adv/batman-adv.ko
> 
> NAck: Sven Eckelmann <sven@narfation.org>
> 
> Please read in the current linux sources Documentation/kbuild/modules.txt
> 
> +install
> +	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) modules_install
> 
> or to override the old version that is included in the kernel
> 
> +install
> +	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) INSTALL_MOD_DIR=kernel/net/batman-adv/ modules_install

Thank you,
so you will send your patch? I prefer last version, to make testing easier.

regards,
Alexey.


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

* Re: [B.A.T.M.A.N.] [PATCH] add make install
  2011-11-14  9:38 ` Sven Eckelmann
  2011-11-14 10:19   ` Alexey Fisher
@ 2011-11-14 10:21   ` Sven Eckelmann
  1 sibling, 0 replies; 7+ messages in thread
From: Sven Eckelmann @ 2011-11-14 10:21 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: lindner_marek

[-- Attachment #1: Type: text/plain, Size: 466 bytes --]

On Monday 14 November 2011 10:38:07 Sven Eckelmann wrote:
> On Monday 14 November 2011 10:11:32 Alexey Fisher wrote:
> > Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
> > ---
> > 
> >  Makefile |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
[...]
> NAck: Sven Eckelmann <sven@narfation.org>

And also "Nack" for not updating the README [1]

Kind regards,
	Sven

[1] http://www.open-mesh.org/wiki/open-mesh/Contribute#Submitting-patches

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [B.A.T.M.A.N.] [PATCH] add make install
  2011-11-14 10:19   ` Alexey Fisher
@ 2011-11-14 10:29     ` Sven Eckelmann
  2011-11-14 10:37       ` Alexey Fisher
  0 siblings, 1 reply; 7+ messages in thread
From: Sven Eckelmann @ 2011-11-14 10:29 UTC (permalink / raw)
  To: Alexey Fisher; +Cc: b.a.t.m.a.n, lindner_marek

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

On Monday 14 November 2011 11:19:19 Alexey Fisher wrote:
[...]
> Thank you,
> so you will send your patch? I prefer last version, to make testing easier.

I personally don't care. Feel free to fix your patch and send a new version 
(but think about adding the ":" after "install" -- the character magically 
disappeared when I wrote the mail).

And don't forget the documentation part as it is always hard to remember 
everything on the day the release is made, but easy when you just made the 
patch. :)

Thanks,
	Sven

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [B.A.T.M.A.N.] [PATCH] add make install
  2011-11-14 10:29     ` Sven Eckelmann
@ 2011-11-14 10:37       ` Alexey Fisher
  2011-11-22  9:45         ` Marek Lindner
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Fisher @ 2011-11-14 10:37 UTC (permalink / raw)
  To: Sven Eckelmann; +Cc: b.a.t.m.a.n, lindner_marek

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

On 14.11.2011 11:29, Sven Eckelmann wrote:
> On Monday 14 November 2011 11:19:19 Alexey Fisher wrote:
> [...]
>> Thank you,
>> so you will send your patch? I prefer last version, to make testing easier.
> 
> I personally don't care. Feel free to fix your patch and send a new version 
> (but think about adding the ":" after "install" -- the character magically 
> disappeared when I wrote the mail).
> 
> And don't forget the documentation part as it is always hard to remember 
> everything on the day the release is made, but easy when you just made the 
> patch. :)

Corrected.

[-- Attachment #2: 0001-add-make-install-option.patch --]
[-- Type: text/x-patch, Size: 958 bytes --]

From 04e5cfa522d79a2a8764ee7ce04f8d0842ee37be Mon Sep 17 00:00:00 2001
From: Alexey Fisher <bug-track@fisher-privat.net>
Date: Mon, 14 Nov 2011 11:35:13 +0100
Subject: [PATCH] add "make install" option

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
---
 Makefile |    3 +++
 README   |    4 ++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 5762721..3374687 100644
--- a/Makefile
+++ b/Makefile
@@ -42,3 +42,6 @@ all:
 
 clean:
 	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) clean
+
+install:
+	$(MAKE) -C $(KERNELPATH) M=$(PWD) PWD=$(PWD) INSTALL_MOD_DIR=kernel/net/batman-adv/ modules_install
diff --git a/README b/README
index 5ba56b5..ec85dff 100644
--- a/README
+++ b/README
@@ -34,6 +34,10 @@ if you want to compile against some other kernel, use:
 
 # make KERNELPATH=/path/to/kernel
 
+if you wont to install this module:
+
+# sudo make install
+
 
 CONFIGURATION
 -------------
-- 
1.7.5.4


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

* Re: [B.A.T.M.A.N.] [PATCH] add make install
  2011-11-14 10:37       ` Alexey Fisher
@ 2011-11-22  9:45         ` Marek Lindner
  0 siblings, 0 replies; 7+ messages in thread
From: Marek Lindner @ 2011-11-22  9:45 UTC (permalink / raw)
  To: b.a.t.m.a.n

On Monday, November 14, 2011 18:37:55 Alexey Fisher wrote:
> On 14.11.2011 11:29, Sven Eckelmann wrote:
> > On Monday 14 November 2011 11:19:19 Alexey Fisher wrote:
> > [...]
> > 
> >> Thank you,
> >> so you will send your patch? I prefer last version, to make testing
> >> easier.
> >
> > 
> >
> > I personally don't care. Feel free to fix your patch and send a new
> > version  (but think about adding the ":" after "install" -- the
> > character magically disappeared when I wrote the mail).
> >
> > 
> >
> > And don't forget the documentation part as it is always hard to remember 
> > everything on the day the release is made, but easy when you just made
> > the  patch. :)
> 
> Corrected.

Applied in revision 44a335d.

Next time, please send the patch inline again and add the branch name (batman-
adv in this case).

Thanks,
Marek

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

end of thread, other threads:[~2011-11-22  9:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-14  9:11 [B.A.T.M.A.N.] [PATCH] add make install Alexey Fisher
2011-11-14  9:38 ` Sven Eckelmann
2011-11-14 10:19   ` Alexey Fisher
2011-11-14 10:29     ` Sven Eckelmann
2011-11-14 10:37       ` Alexey Fisher
2011-11-22  9:45         ` Marek Lindner
2011-11-14 10:21   ` Sven Eckelmann

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