From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 8E4F23858C2B for ; Sat, 5 Nov 2022 03:50:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8E4F23858C2B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 37682340CEE; Sat, 5 Nov 2022 03:50:51 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH 1/3] sim: adjust sim_hw options style Date: Sat, 5 Nov 2022 10:50:45 +0700 Message-Id: <20221105035047.11654-1-vapier@gentoo.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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. --- sim/Makefile.in | 4 ++-- sim/arch-subdir.mk.in | 4 ++-- sim/configure | 6 ++++-- sim/m4/sim_ac_option_hardware.m4 | 6 ++++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/sim/arch-subdir.mk.in b/sim/arch-subdir.mk.in index 616e06ec453f..cbe3fca88654 100644 --- a/sim/arch-subdir.mk.in +++ b/sim/arch-subdir.mk.in @@ -77,7 +77,7 @@ CGENDIR = @cgendir@ SIM_INLINE = @SIM_INLINE@ -SIM_HW_CFLAGS = @sim_hw_cflags@ -SIM_HW_SOCKSER = @sim_hw_sockser@ +SIM_HW_CFLAGS = @SIM_HW_CFLAGS@ +SIM_HW_SOCKSER = @SIM_HW_SOCKSER@ SIM_HW_OBJS = $(SIM_COMMON_HW_OBJS) $(SIM_HW_DEVICES:%=dv-%.o) $(SIM_HW_SOCKSER) @SIM_ENABLE_HW_FALSE@SIM_HW_OBJS = diff --git a/sim/m4/sim_ac_option_hardware.m4 b/sim/m4/sim_ac_option_hardware.m4 index d1acc6a7403d..5216d6ba5545 100644 --- a/sim/m4/sim_ac_option_hardware.m4 +++ b/sim/m4/sim_ac_option_hardware.m4 @@ -36,6 +36,8 @@ else fi AM_CONDITIONAL([SIM_ENABLE_HW], [test "$enable_sim_hardware" = "yes"]) AC_MSG_RESULT(${enable_sim_hardware}) -AC_SUBST(sim_hw_cflags) -AC_SUBST(sim_hw_sockser) +SIM_HW_CFLAGS=$sim_hw_cflags +AC_SUBST(SIM_HW_CFLAGS) +SIM_HW_SOCKSER=$sim_hw_sockser +AC_SUBST(SIM_HW_SOCKSER) ]) -- 2.38.1