Subject: port-arm/14330: include-dir target not run before .depend target
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Earnshaw <rearnsha@cambridge.arm.com>
List: netbsd-bugs
Date: 10/23/2001 14:46:33
>Number:         14330
>Category:       port-arm
>Synopsis:       include-dir target not run before .depend target
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 23 06:48:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Richard Earnshaw
>Release:        NetBSD-current
>Organization:
ARM
-- 
>Environment:
	
System: NetBSD shark1 1.5Y NetBSD 1.5Y (SHARK) #79: Fri Oct 19 14:17:07 BST 2001 rearnsha@shark1:/usr/src/sys/arch/arm32/compile/SHARK arm32


>Description:
	the include-dir target, which is supposed to be run before the depend
	or all targets in the kernel makefile is not run correctly after
	a fresh configure.
>How-To-Repeat:
	for an ARM target "foo"
	cd compile
	rm -rf foo
	cd ../conf
	config foo
	cd ../compile/foo
	make depend

	make will fail during the depend rules becuase the "include" 
	directories have not been set up first.


>Fix:
	Work around is to manually run "make include-dir" before depending.
>Release-Note:
>Audit-Trail:
>Unformatted: