Commit cf6c1b169c62e6aba5a384a2a118aef12e9608e6
1 parent
bedb69ea
Rules needed to compile linux user-mode alpha target.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2607 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
3 changed files
with
15 additions
and
1 deletions
Makefile
Makefile.target
... | ... | @@ -304,6 +304,10 @@ ifeq ($(TARGET_BASE_ARCH), m68k) |
304 | 304 | LIBOBJS+= helper.o |
305 | 305 | endif |
306 | 306 | |
307 | +ifeq ($(TARGET_BASE_ARCH), alpha) | |
308 | +LIBOBJS+= op_helper.o helper.o alpha_palcode.o | |
309 | +endif | |
310 | + | |
307 | 311 | # NOTE: the disassembler code is only needed for debugging |
308 | 312 | LIBOBJS+=disas.o |
309 | 313 | ifeq ($(findstring i386, $(TARGET_ARCH) $(ARCH)),i386) |
... | ... | @@ -605,6 +609,11 @@ sh7750_regnames.o: sh7750_regnames.c sh7750_regnames.h sh7750_regs.h |
605 | 609 | tc58128.o: tc58128.c |
606 | 610 | endif |
607 | 611 | |
612 | +ifeq ($(TARGET_BASE_ARCH), alpha) | |
613 | +op.o: op.c op_template.h op_mem.h | |
614 | +op_helper.o: op_helper_mem.h | |
615 | +endif | |
616 | + | |
608 | 617 | $(OBJS) $(LIBOBJS) $(VL_OBJS): config.h ../config-host.h |
609 | 618 | |
610 | 619 | %.o: %.c | ... | ... |
configure
... | ... | @@ -437,7 +437,7 @@ if test -z "$target_list" ; then |
437 | 437 | fi |
438 | 438 | # the following are Linux specific |
439 | 439 | if [ "$linux_user" = "yes" ] ; then |
440 | - target_list="i386-linux-user arm-linux-user armeb-linux-user sparc-linux-user ppc-linux-user mips-linux-user mipsel-linux-user m68k-linux-user $target_list" | |
440 | + target_list="i386-linux-user arm-linux-user armeb-linux-user sparc-linux-user ppc-linux-user mips-linux-user mipsel-linux-user m68k-linux-user alpha-linux-user $target_list" | |
441 | 441 | fi |
442 | 442 | # the following are Darwin specific |
443 | 443 | if [ "$darwin_user" = "yes" ] ; then |
... | ... | @@ -943,6 +943,10 @@ elif test "$target_cpu" = "m68k" ; then |
943 | 943 | echo "#define TARGET_ARCH \"m68k\"" >> $config_h |
944 | 944 | echo "#define TARGET_M68K 1" >> $config_h |
945 | 945 | bflt="yes" |
946 | +elif test "$target_cpu" = "alpha" ; then | |
947 | + echo "TARGET_ARCH=alpha" >> $config_mak | |
948 | + echo "#define TARGET_ARCH \"alpha\"" >> $config_h | |
949 | + echo "#define TARGET_ALPHA 1" >> $config_h | |
946 | 950 | else |
947 | 951 | echo "Unsupported target CPU" |
948 | 952 | exit 1 | ... | ... |