Revision 4d904533 configure

b/configure
2273 2273
  fi
2274 2274
fi
2275 2275

  
2276
for d in libdis libdis-user; do
2277
    mkdir -p $d
2278
    rm -f $d/Makefile
2279
    ln -s $source_path/Makefile.dis $d/Makefile
2280
    echo > $d/config.mak
2281
done
2282

  
2276 2283
for target in $target_list; do
2277 2284
target_dir="$target"
2278 2285
config_target_mak=$target_dir/config-target.mak
......
2563 2570
cflags="-I\$(SRC_PATH)/tcg $cflags"
2564 2571
cflags="-I\$(SRC_PATH)/fpu $cflags"
2565 2572

  
2573
if test "$target_user_only" = "yes" ; then
2574
    libdis_config_mak=libdis-user/config.mak
2575
else
2576
    libdis_config_mak=libdis/config.mak
2577
fi
2578

  
2566 2579
for i in $ARCH $TARGET_BASE_ARCH ; do
2567 2580
  case "$i" in
2568 2581
  alpha)
2569 2582
    echo "CONFIG_ALPHA_DIS=y"  >> $config_target_mak
2583
    echo "CONFIG_ALPHA_DIS=y"  >> $libdis_config_mak
2570 2584
  ;;
2571 2585
  arm)
2572 2586
    echo "CONFIG_ARM_DIS=y"  >> $config_target_mak
2587
    echo "CONFIG_ARM_DIS=y"  >> $libdis_config_mak
2573 2588
  ;;
2574 2589
  cris)
2575 2590
    echo "CONFIG_CRIS_DIS=y"  >> $config_target_mak
2591
    echo "CONFIG_CRIS_DIS=y"  >> $libdis_config_mak
2576 2592
  ;;
2577 2593
  hppa)
2578 2594
    echo "CONFIG_HPPA_DIS=y"  >> $config_target_mak
2595
    echo "CONFIG_HPPA_DIS=y"  >> $libdis_config_mak
2579 2596
  ;;
2580 2597
  i386|x86_64)
2581 2598
    echo "CONFIG_I386_DIS=y"  >> $config_target_mak
2599
    echo "CONFIG_I386_DIS=y"  >> $libdis_config_mak
2582 2600
  ;;
2583 2601
  m68k)
2584 2602
    echo "CONFIG_M68K_DIS=y"  >> $config_target_mak
2603
    echo "CONFIG_M68K_DIS=y"  >> $libdis_config_mak
2585 2604
  ;;
2586 2605
  microblaze)
2587 2606
    echo "CONFIG_MICROBLAZE_DIS=y"  >> $config_target_mak
2607
    echo "CONFIG_MICROBLAZE_DIS=y"  >> $libdis_config_mak
2588 2608
  ;;
2589 2609
  mips*)
2590 2610
    echo "CONFIG_MIPS_DIS=y"  >> $config_target_mak
2611
    echo "CONFIG_MIPS_DIS=y"  >> $libdis_config_mak
2591 2612
  ;;
2592 2613
  ppc*)
2593 2614
    echo "CONFIG_PPC_DIS=y"  >> $config_target_mak
2615
    echo "CONFIG_PPC_DIS=y"  >> $libdis_config_mak
2594 2616
  ;;
2595 2617
  s390*)
2596 2618
    echo "CONFIG_S390_DIS=y"  >> $config_target_mak
2619
    echo "CONFIG_S390_DIS=y"  >> $libdis_config_mak
2597 2620
  ;;
2598 2621
  sh4)
2599 2622
    echo "CONFIG_SH4_DIS=y"  >> $config_target_mak
2623
    echo "CONFIG_SH4_DIS=y"  >> $libdis_config_mak
2600 2624
  ;;
2601 2625
  sparc*)
2602 2626
    echo "CONFIG_SPARC_DIS=y"  >> $config_target_mak
2627
    echo "CONFIG_SPARC_DIS=y"  >> $libdis_config_mak
2603 2628
  ;;
2604 2629
  esac
2605 2630
done

Also available in: Unified diff