You are not logged in.

#1 2009-04-01 20:47:29

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Make dep never works in kernel source

OK So.. i'm building the latest drm code from git to get Dave Airlie's source code for the R300 since he just dropped 5,000 line of source code out of the R300 tree using the Linus kernel git tree (i love unstable code) and in the DRI building guide, it says to run make dep against the kernel.

So I go into the root of the kernel source in /usr/src (i know you should build kernels in the home directory) and as root I type in make dep and it says its uncessary at this time. Well... when would be a good time to run make dep? (lol!!)

http://dri.freedesktop.org/wiki/Buildin … 5ae2efe516

^ Unless make dep is actually unecessary. If it is uncessary, i'll contact TimoJyrinki and tell him about it.

Thank you for all your help.

P.S. Please don't drop i686 support for 2 or 3 months because I'm getting an AMD64 processor really soon! ahaha.


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#2 2009-04-01 21:38:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Make dep never works in kernel source

Did you get the source tarball from kernel.org? On a default Arch installation, /usr/src/linux-<kernel_version> contains headers only.

Offline

#3 2009-04-01 21:40:53

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: Make dep never works in kernel source

I said Linus kernel git tree.

http://git.kernel.org/ --> http://git.kernel.org/?p=linux/kernel/g … ;a=summary --> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

#4 2009-04-01 21:51:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Make dep never works in kernel source

Apologies.. didn't read your post properly.

The message is "make dep is unnecessary now", meaning "make dep is no longer necessary" - it's deprecated.

Offline

#5 2009-04-01 21:51:55

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: Make dep never works in kernel source

this is obsolete command for 2.6 kernels

just run (after configuring kernel) with root privileges
make bzImage && make modules && make modules_install

when done copy bzImage to /boot and configure GRUB/LILO

Offline

#6 2009-04-01 22:00:11

Neo_The_User
Member
From: The Matrix
Registered: 2009-03-30
Posts: 96
Website

Re: Make dep never works in kernel source

I run make && make modules_install (w/ clean when recompiling) as thats how I did it back when i used gentoo.

I have my kernel compiled and installed and everything. so thats not an issue at all. (And only 1.1 MB)

So if make dep is depreciated, whats the new command for make dep? I just want DRM working with airlied's new code for the r300 with the new kernel.

Here is where I am right now:

Mesa from git (r300) with heavy optimization flags (including -march=athlon=xp -fomit-frame-pointer- -s -O3)
Custom kernel with GZIP compression of 1.1 MB installed, up and running

To do:

DRM via git running on custom kernel

I recommend not testing what I am trying to do on a production environment.

Thanks.

P.S. I edited the CFLAGS and CXXFLAGS for the drm code as well and made it very optimized for my system.

Last edited by Neo_The_User (2009-04-01 22:01:44)


AMD Phenom II X4 955 with Optimized Kernel
5 GB DDR2 RAM
320 GB SATA Hard Drive + 160 GB SATA Hard Drive
ATi RadeonHD 5830 GIGABYTE

Offline

Board footer

Powered by FluxBB