|
Message
From: =?unknown-8bit?Q?Gy=F6rgy?= 'nog' Jeney<nog@s...>
Date: Tue Jan 25 18:52:23 CET 2005
Subject: [openrisc] [or1ksim #5] Fix out-of-tree builds
Hi,Matjaz alerted me to fact that the execgen.c rule in the Makefile doesn't handle out-of-tree builds which prevents us from removeing the generated execgen.c from cvs. This fixes this problem.
ChangeLog: * Fix out-of-tree builds.
nog. -------------- next part -------------- --- cpu/or32/Makefile.am 2002-03-06 16:53:23.000000000 +0100 +++ ../or1ksim-ac/cpu/or32/Makefile.am 2005-01-25 18:34:10.000000000 +0100 @@ -30,7 +30,11 @@ generate_SOURCES = or32.c generate.c BUILT_SOURCES = execgen.c -execgen.c: generate insnset.c - ./generate insnset.c execgen.c - +execgen.c: generate $(srcdir)/insnset.c + ./generate $(srcdir)/insnset.c execgen.c + endif + +# If the simulator was first built without --enable-simple and then with it, +# then also remove these two files +CLEANFILES=execgen.c generate
|
 |