Re: How to build binary to another directory in 2.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 08, 2005 at 05:35:03PM +0800, wuulong wrote:
> Is there any KBUILD_OUTPUT like variable in 2.4, so we can make the
> binary to any directory.

Not that I know. AFAIK this feature was added in 2.6.

> or How to make binary to not source directory in 2.4, because I want to
> backup source but don't want to include binary build.

Just hardlink the kernel trees:

  cp -Rl linux-2.4.31-source linux-2.4.31-build

Now build in linux-2.4.31-build.

Note however that some editors will unlink a file before they save
(emacs, xemacs), while others will not (vi), so changes to a file in
the source tree will or will not automatically show up in the build
tree.


Erik

-- 
Erik Mouw
J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux