Re: [PATCH v4 09/12] target/arm: Make m_helper.c optional via CONFIG_ARM_V7M

2021-01-29 Thread Philippe Mathieu-Daudé
On 10/3/20 11:48 AM, Richard Henderson wrote: > On 9/29/20 5:43 PM, Philippe Mathieu-Daudé wrote: >> +arm_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('m_helper.c'), if_false: >> files('m_helper-stub.c')) >> + >> arm_ss.add(zlib) >> >> arm_ss.add(when: 'CONFIG_TCG', if_true: files('arm-semi.c

Re: [PATCH v4 09/12] target/arm: Make m_helper.c optional via CONFIG_ARM_V7M

2020-10-03 Thread Richard Henderson
On 9/29/20 5:43 PM, Philippe Mathieu-Daudé wrote: > +arm_ss.add(when: 'CONFIG_ARM_V7M', if_true: files('m_helper.c'), if_false: > files('m_helper-stub.c')) > + > arm_ss.add(zlib) > > arm_ss.add(when: 'CONFIG_TCG', if_true: files('arm-semi.c')) > +arm_ss.add(when: 'CONFIG_TCG', if_false: files(

[PATCH v4 09/12] target/arm: Make m_helper.c optional via CONFIG_ARM_V7M

2020-09-29 Thread Philippe Mathieu-Daudé
From: Thomas Huth We've already got the CONFIG_ARM_V7M switch, but it currently can not be disabled yet. The m_helper.c code should not be compiled into the binary if the switch is not enabled. We also have to provide some stubs in a separate file to make sure that we still can link the other cod