diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-03 14:46:53 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:45 -0500 |
commit | 646560247ce8c4c8184c49f877d80ac82a07c2e5 (patch) | |
tree | b13f41e3cbba2229271172b5d71648b19a715b45 /configure | |
parent | 471857dd01fe7aac2b7c6cccd17dbdc49b37994a (diff) |
Move dis-* selection to configure
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -2078,6 +2078,47 @@ fi cflags="-I\$(SRC_PATH)/tcg $cflags" cflags="-I\$(SRC_PATH)/fpu $cflags" +for i in $ARCH $TARGET_BASE_ARCH ; do + case "$i" in + alpha) + echo "CONFIG_ALPHA_DIS=y" >> $config_mak + ;; + arm) + echo "CONFIG_ARM_DIS=y" >> $config_mak + ;; + cris) + echo "CONFIG_CRIS_DIS=y" >> $config_mak + ;; + hppa) + echo "CONFIG_HPPA_DIS=y" >> $config_mak + ;; + i386|x86_64) + echo "CONFIG_I386_DIS=y" >> $config_mak + ;; + m68k) + echo "CONFIG_M68K_DIS=y" >> $config_mak + ;; + microblaze) + echo "CONFIG_MICROBLAZE_DIS=y" >> $config_mak + ;; + mips*) + echo "CONFIG_MIPS_DIS=y" >> $config_mak + ;; + ppc*) + echo "CONFIG_PPC_DIS=y" >> $config_mak + ;; + s390) + echo "CONFIG_S390_DIS=y" >> $config_mak + ;; + sh4) + echo "CONFIG_SH4_DIS=y" >> $config_mak + ;; + sparc*) + echo "CONFIG_SPARC_DIS=y" >> $config_mak + ;; + esac +done + case "$ARCH" in alpha) # Ensure there's only a single GP |