Subject: Re: make obj? (MPC8xx)
To: None <Roger.M.Strandberg@telia.se>
From: Johan Rydberg <johan.rydberg@netinsight.se>
List: tech-embed
Date: 02/23/2000 12:00:16
Roger.M.Strandberg@telia.se wrote:
> 
> Hi,
> This question might not belong to tech-embed, but i hope that some one
> can answer.
> 
> I have build the cross compiler for the target powerpcc-elf.
> it reside in $HOME/mpc850/bin as powerpc-elf-as , -gcc etc...
> 
> To verify my cross compiler i wanted to build the obj in netbsd src
> tree.
> Like:
> [roger@bprint src]$ make obj
> Makefile:36: *** missing separator.  Stop.
> Line 36 is where .include <bsd.own.mk> is.

This is because you use GNU make. You must use BSD make. 

> Question 2:
> Now that i have a m8xxppc in sys/arch/ , let say that i'am don with the
> files in it.
> How do i tell the Makefile in usr/src that its m8xxppc that it should
> use?

Check out the src/sys/conf/files and src/sys/arch/XXX/conf/files.XXX
 
> Mvh Roger Strandberg

-- 
Johan Rydberg			johan.rydberg@netinsight.net
Net Insight AB, Sweden		direct: +46-8-685 04 17
http://www.netinsight.net	phone:  +46-8-685 04 00
				fax:    +46-8-685 04 20