Hi Bernd,

Bernd Büttner wrote:
I'm working with it for a while now but I didn't recognize.
Doing a 'make clean' works on all directories but linux-kernel.
My distribution is 20060803.
Building linux-2.6 with m68knommu kernel (modified motorola M5282EVB).
I think the problem is in arch/m68knommu/Makefile.
The rule for 'archclean' cannot be resolved because there is no boot directory
under this architecture.
Here the output from 'make clean':

[ ! -d modules ] || make ARCH=m68knommu CROSS_COMPILE=m68k-elf- -C modules clean for dir in linux-2.6.x include lib include user; do [ ! -d $dir ] || make ARCH=m68knommu CROSS_COMPILE=m68k-elf- -C $dir clean ; done make[1]: Entering directory `/home/gw/project/ewebsrv-linux-2.6.16-uc0/linux-2.6.x' scripts/Makefile.clean:17: /home/gw/project/ewebsrv-linux-2.6.16-uc0/linux-2.6.x/arch/m68knommu/boot/Makefile: Datei oder Verzeichnis nicht gefunden make[2]: *** Keine Regel, um »/home/gw/project/ewebsrv-linux-2.6.16-uc0/linux-2.6.x/arch/m68knommu/boot/Makefile« zu erstellen. Schluss.
make[1]: *** [archclean] Fehler 2
make[1]: Leaving directory `/home/gw/project/ewebsrv-linux-2.6.16-uc0/linux-2.6.x'

Try the attached patch.

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
--- arch/m68knommu/Makefile.org	2007-03-09 22:03:31.000000000 +1000
+++ arch/m68knommu/Makefile	2007-03-09 22:03:35.000000000 +1000
@@ -115,4 +115,4 @@
 libs-y	+= arch/m68knommu/lib/
 
 archclean:
-	$(Q)$(MAKE) $(clean)=arch/m68knommu/boot
+
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to