[uClinux-dev] make clean doesn't work on linux directory
Bernd Büttner
b.buettner at mkc-gmbh.de
Mon Mar 5 09:29:57 EST 2007
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'
.
.
.
I looked through the mailing-list but didn't find a solution for this.
Bernd
More information about the uClinux-dev
mailing list