Skip to contentSkip to conversation

make dep

DISCUSSION Giuliano Pochini 2 participants 3 messages Jun 8, 2003 – Jun 9, 2003

lore
Share & tools
lore
#0 lore raw

How can I tell "make dep" to ignore some of the files listed in "snd-mychip-objs" ?

Bye.

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.

#1 lore raw
Quoted 2 lines · Giuliano Pochini

How can I tell "make dep" to ignore some of the files listed in "snd-mychip-objs" ?

It is not possible. Could you send me your code? I will try to look what is wrong.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.

#2 lore raw
Quoted 6 lines · On 09-Jun-2003 Jaroslav Kysela wrote:
Quoted 3 lines

How can I tell "make dep" to ignore some of the files listed in "snd-mychip-objs" ?

It is not possible. Could you send me your code? I will try to look what is wrong.

There's nothing wrong. The driver is based on the C++ code written by the manufacturer. That code should be compiled indipendently from ALSA and then linked to the main driver. "make dep" looks for .c files that don't exist. As workaround, I defined a set of rules like this:

file.c:
touch file.c

It works, but it's ugly. I was looking for a better solution.

Bye.

-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.