Re: [ptxdist] [PATCH v2 01/20] Do not fail if provided kernel-config file is read-only

2010-06-07 Thread Remy Bohmer
Hi, 2010/5/31 Marc Kleine-Budde m...@pengutronix.de: Remy Bohmer wrote: Hi, I don't like this. $(KERNEL_CONFIG) may not be readonly on purpose and changes get lost. What about: if diff -q  $(KERNEL_DIR)/.config $() /dev/null; then        cp $(KERNEL_DIR)/.config $() fi Then it only

Re: [ptxdist] [PATCH v2 01/20] Do not fail if provided kernel-config file is read-only

2010-06-07 Thread Michael Olbrich
On Mon, Jun 07, 2010 at 11:13:25AM +0200, Remy Bohmer wrote: 2010/5/31 Marc Kleine-Budde m...@pengutronix.de: Remy Bohmer wrote: I don't like this. $(KERNEL_CONFIG) may not be readonly on purpose and changes get lost. What about: if diff -q  $(KERNEL_DIR)/.config $() /dev/null; then  

Re: [ptxdist] [PATCH v2] Conditional include do not require if's

2010-06-07 Thread Michael Olbrich
On Sat, Jun 05, 2010 at 10:33:47AM +0200, Remy Bohmer wrote: To check for the existence of certain files and include them if these exist can be done by just simply prepending the include directive with a '-' sign, without if and wildcard checks. I looked at the Make dokumentation to see what

[ptxdist] [PATCH 1/1] lighttpd: add upstart support

2010-06-07 Thread Tim Sander
Hi Please consider this patch for master. As always mail due to technical dificulties for review only, please use git repo at: git://gitorious.org/~tstone/oselas/ptxdist-upstart.git for merging. Best regards Tim Signed-Off-By: Tim Sander tim.san...@hbm.com diff --git

[ptxdist] [PATCH] Do not copy the kernel config file if it is not really changed

2010-06-07 Thread Remy Bohmer
The kernel config file only needs to be copied if: * lines not starting with '#' are changed. * lines starting with '# C' are changed to detect disabled options. Signed-off-by: Remy Bohmer li...@bohmer.net --- rules/kernel.make |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff