Re: [PATCH] kbuild: Unbreak cleaning external module build directory

2012-12-09 Thread Michal Marek
On 18.11.2012 16:01, Bart Van Assche wrote: > Avoid that "$(MAKE) -C $(KDIR) M=$(PWD) clean" triggers the following > error message when invoked from inside the Makefile of an external > kernel module: > > rm: cannot remove 'System.map': Permission denied > make[1]: *** [clean] Error 1 I just app

[PATCH] kbuild: Unbreak cleaning external module build directory

2012-11-18 Thread Bart Van Assche
Avoid that "$(MAKE) -C $(KDIR) M=$(PWD) clean" triggers the following error message when invoked from inside the Makefile of an external kernel module: rm: cannot remove 'System.map': Permission denied make[1]: *** [clean] Error 1 Cc: Sam Ravnborg Cc: Arnaud Lacombe Cc: Nick Bowler Cc: Richard