[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bluetooth-dev] a few build issues
> > 2. Although we just recently added the -MD option to gcc for automatic
> > dependency generation, the kernel builds dependencies with the 'dep'
> > target. Does anyone know why the kernel uses 'dep' instead of -MD? Is it
> > to speed up kernel builds? And do we want to conform to that practice
> > instead of using -MD?
> I see no reason for this. Though, I wish the .d files had been hidden :(
Found the following in the pcmcia-cs package:
# Stuff to automatically maintain dependency files
%.o : %.c
$(CC) -MD $(CFLAGS) $(CPPFLAGS) -c $<
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org