Révision | 682a2a82e404a7ec033546f639c89e709ce870e1 (tree) |
---|---|
l'heure | 2022-11-05 12:23:28 |
Auteur | Mike Frysinger <vapier@gent...> |
Commiter | Mike Frysinger |
sim: adjust sim_hw options style
We use uppercase for other variables, and are already turning it to
uppercase in the arch-subdir.mk, so convert it in the configure step.
@@ -829,6 +829,8 @@ SHELL = @SHELL@ | ||
829 | 829 | SIM_COMMON_BUILD_FALSE = @SIM_COMMON_BUILD_FALSE@ |
830 | 830 | SIM_COMMON_BUILD_TRUE = @SIM_COMMON_BUILD_TRUE@ |
831 | 831 | SIM_FRV_TRAPDUMP_FLAGS = @SIM_FRV_TRAPDUMP_FLAGS@ |
832 | +SIM_HW_CFLAGS = @SIM_HW_CFLAGS@ | |
833 | +SIM_HW_SOCKSER = @SIM_HW_SOCKSER@ | |
832 | 834 | SIM_INLINE = @SIM_INLINE@ |
833 | 835 | SIM_PRIMARY_TARGET = @SIM_PRIMARY_TARGET@ |
834 | 836 | SIM_RX_CYCLE_ACCURATE_FLAGS = @SIM_RX_CYCLE_ACCURATE_FLAGS@ |
@@ -889,8 +891,6 @@ sbindir = @sbindir@ | ||
889 | 891 | sharedstatedir = @sharedstatedir@ |
890 | 892 | sim_bitsize = @sim_bitsize@ |
891 | 893 | sim_float = @sim_float@ |
892 | -sim_hw_cflags = @sim_hw_cflags@ | |
893 | -sim_hw_sockser = @sim_hw_sockser@ | |
894 | 894 | srcdir = @srcdir@ |
895 | 895 | subdirs = @subdirs@ |
896 | 896 | sysconfdir = @sysconfdir@ |
@@ -77,7 +77,7 @@ CGENDIR = @cgendir@ | ||
77 | 77 | |
78 | 78 | SIM_INLINE = @SIM_INLINE@ |
79 | 79 | |
80 | -SIM_HW_CFLAGS = @sim_hw_cflags@ | |
81 | -SIM_HW_SOCKSER = @sim_hw_sockser@ | |
80 | +SIM_HW_CFLAGS = @SIM_HW_CFLAGS@ | |
81 | +SIM_HW_SOCKSER = @SIM_HW_SOCKSER@ | |
82 | 82 | SIM_HW_OBJS = $(SIM_COMMON_HW_OBJS) $(SIM_HW_DEVICES:%=dv-%.o) $(SIM_HW_SOCKSER) |
83 | 83 | @SIM_ENABLE_HW_FALSE@SIM_HW_OBJS = |
@@ -644,8 +644,8 @@ SIM_FRV_TRAPDUMP_FLAGS | ||
644 | 644 | sim_float |
645 | 645 | sim_bitsize |
646 | 646 | SIM_INLINE |
647 | -sim_hw_sockser | |
648 | -sim_hw_cflags | |
647 | +SIM_HW_SOCKSER | |
648 | +SIM_HW_CFLAGS | |
649 | 649 | SIM_ENABLE_HW_FALSE |
650 | 650 | SIM_ENABLE_HW_TRUE |
651 | 651 | cgen |
@@ -15868,7 +15868,9 @@ fi | ||
15868 | 15868 | |
15869 | 15869 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_sim_hardware}" >&5 |
15870 | 15870 | $as_echo "${enable_sim_hardware}" >&6; } |
15871 | +SIM_HW_CFLAGS=$sim_hw_cflags | |
15871 | 15872 | |
15873 | +SIM_HW_SOCKSER=$sim_hw_sockser | |
15872 | 15874 | |
15873 | 15875 | |
15874 | 15876 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking sim inline settings" >&5 |
@@ -36,6 +36,8 @@ else | ||
36 | 36 | fi |
37 | 37 | AM_CONDITIONAL([SIM_ENABLE_HW], [test "$enable_sim_hardware" = "yes"]) |
38 | 38 | AC_MSG_RESULT(${enable_sim_hardware}) |
39 | -AC_SUBST(sim_hw_cflags) | |
40 | -AC_SUBST(sim_hw_sockser) | |
39 | +SIM_HW_CFLAGS=$sim_hw_cflags | |
40 | +AC_SUBST(SIM_HW_CFLAGS) | |
41 | +SIM_HW_SOCKSER=$sim_hw_sockser | |
42 | +AC_SUBST(SIM_HW_SOCKSER) | |
41 | 43 | ]) |