Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 18 Jun 2002 11:50:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 18 Jun 2002 11:50:32 -0400 Received: from host194.steeleye.com ([216.33.1.194]:9745 "EHLO pogo.mtv1.steeleye.com") by vger.kernel.org with ESMTP id ; Tue, 18 Jun 2002 11:50:31 -0400 Message-Id: <200206181550.g5IFoQ005746@localhost.localdomain> X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 To: Kai Germaschewski cc: linux-kernel@vger.kernel.org, James.Bottomley@SteelEye.com Subject: make dep fails on 2.5.22 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 18 Jun 2002 10:50:26 -0500 From: James Bottomley X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 984 Lines: 28 The problem is in drivers/scsi because of the auto generated header files for certain scsi scripts. It currently errors out for me with my NCR_D700 controller because 53c700.c requires 53c700_d.h which is an automatically generated header file and thus doesn't exist when make dep is run. I can fix this by adding the rule: $(MODVERDIR)/53c700.ver: 53c700_d.h but this looks wrong. The dependency is already listed in the existing rule: 53c700.o: 53c700_d.h Is there any way we can cause make deps to see dynamically generated header files, which will globally fix the problem? Otherwise, perhaps just adding an extra variable into the Makefile to tell make dep about the necessary dynamic headers would be in order? James - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/