Re: Kernel source of an installed vanilla kernel (FC3)

From: Tommy Reynolds (TommyReynolds_at_yahoo.com)
Date: 04/26/05


Date: Tue, 26 Apr 2005 16:23:46 -0500

On Tue, 26 Apr 2005 22:43:53 +0200, Ilja Sekler wrote:

> Is it safe to free the disc space and to delete everything in the kernel
> build tree except of headers, makefiles and Kconfig files? (I would like
> still to be able to build applications and external modules from source
> when needed.) Is there a command to do it automatically?

Can't completely delete it, but you can save a ton of space:

# cd /usr/src/linux-<version>
# mv .config /tmp/x.config
# make mrproper
# mv /tmp/x.config .config
# make oldconfig
# make modules_prepare

and then you should be ready to build third-party modules. You don't
need _any_ of this to build applications.

HTH



Relevant Pages

  • Re: Database Connection - Development to Production
    ... The config files are the way to go for all of my ASP.NET applications. ... Soon I will be making a post dedicated to converting classic ASP ... Storing connectionString in dll itself is ok. ...
    (microsoft.public.dotnet.general)
  • RE: Web Service throws exception during Application_Start
    ... config value from within a web method, ... you want web services to ... >> managing web sites and web page based applications (using a general tone ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: [PATCH 2/7] procfs privacy: tasks/processes lookup
    ... > applications as root, ... > these applications run with root rights is a security ... that's why I would say "fall back to the config. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH 2/7] procfs privacy: tasks/processes lookup
    ... > applications as root, ... > these applications run with root rights is a security ... that's why I would say "fall back to the config. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • [kbuild 0/5] Some of our patches
    ... Users often try to build additional external modules without compiling ... This results in modules without modversions, ... Don't use the running kernel's config file by default ... Don't look at the running kernel for the usual configure ...
    (Linux-Kernel)