Re: About Kbuild in ARM | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi,
My means is, in current arch/arm/Makefile, it can't support remove auto-generated file named file_name.[ch] when "make clean", even we add it into "clean-files".
For explaining more clear, I make a demo. It can run for Linux-2.6.24.2 under env RHL ES4.0, GNU Make 3.80, GCC 4.1.1;
We can install it to mach-example, we assume use "realview" in installing steps that list as following:
$ cd linux-2.6.24.2/arch/arm/mach-realview
$ tar jzvf mk_amp_drv.tar.bz2
add a line "obj-y +=mk_amp_drv" at the bottom of file named arch/arm/mach-realview/Makefile.
$ cd linux-2.6.24.2
$ arm-make distclean; arm-make realview_defconfig; arm-make
$ arm-make clean;
Note: arm-make is the command line which used for cross-compile the ARM Linux.
Some file we listed in "clean-files" can't be removed.
BRS
Alex
----- Original Message -----
From: "Russell King - ARM Linux" <linux@xxxxxxxxxxxxxxxx>
To: "Yu Alex" <byu@xxxxxxxxxxx>
Cc: <linux-arm@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, June 03, 2008 4:08 PM
Subject: Re: About Kbuild in ARM
> On Tue, Jun 03, 2008 at 11:34:37AM +0800, Yu Alex wrote:
> > The current kbuild in ARM can't clean the files that are generated
> > by scripts, for example, named like "some_name.[ch]".
> > It is appreciatory if any idea about it.
>
> Maybe if you provided us with the changes to the Makefile we could
> comment on it. Until then, try answering this and you'll see our
> problem with such vague questions:
>
> My foo has a problem with bar. Do you have any ideas?Attachment:
mk_amp_drv.tar.bz2
Description: Binary data
------------------------------------------------------------------- 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
[Site Home] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]