|
|
|
Re: syslink of include/asm/arch--->include/asm/arch-* is not deleted after make clean | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
|
Yes.You are right.We should use "make ARCH=arm clean". Thanks. On Sat, Oct 28, 2006 at 10:26:49AM +0800, ?????? wrote: > When we using "make" to build kernel, two syslink created. One is > include/asm--->include/asm-arm, the other is > include/asm/arch--->include/asm/arch-*, such as include/asm/arch-s3c2410. > When we using "make clean" to clean, syslink > include/asm--->include/asm-arm will be deleted, but > include/asm/arch--->include/asm/arch-* will not be deleted. I think you're doing something wrong, since we do tell kbulid to delete that symlink, and it does work (see below.) Possible errors: - Did you creat a copy of include/asm-arm in include/asm ? - Did you forget ARCH=arm when making clean? make ARCH=arm clean As I say, it does work as illustrated below. (Note: I use a shell alias 'amake' to avoid having to keep typing the CROSS_COMPILE and ARCH arguments, and I use that alias _all_ the time when building ARM kernels): $ alias amake='make CROSS_COMPILE=arm-linux- ARCH=arm' $ amake footbridge_defconfig ... $ amake prepare scripts/kconfig/conf -s arch/arm/Kconfig CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm-arm/arch -> include/asm-arm/arch-ebsa285 Generating include/asm-arm/mach-types.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-arm CC arch/arm/kernel/asm-offsets.s GEN include/asm-arm/asm-offsets.h $ amake clean CLEAN /home/rmk/git/linux-2.6-drvmodel CLEAN include/asm-arm/mach-types.h include/asm-arm/arch include/asm-arm/.arch $ ls include/asm-arm/arch ls: include/asm-arm/arch: No such file or directory ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Linux ARM] [Linux ARM MSM] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Asterisk Internet PBX] [Linux API]
![]() |
![]() |