diff --git a/arch/arm/src/stm32/chip/stm32_exti.h b/arch/arm/src/stm32/chip/stm32_exti.h index b9b27e3470..1f02f7feea 100644 --- a/arch/arm/src/stm32/chip/stm32_exti.h +++ b/arch/arm/src/stm32/chip/stm32_exti.h @@ -55,7 +55,7 @@ # define STM32_NEXTI 19 # define STM32_EXTI_MASK 0x0007ffff # endif -#eif defined(CONFIG_STM32_STM32F30XX) +#elif defined(CONFIG_STM32_STM32F30XX) # define STM32_NEXTI1 31 # define STM32_EXTI1_MASK 0xffffffff # define STM32_NEXTI2 4 diff --git a/configs/us7032evb1/shterm/Makefile b/configs/us7032evb1/shterm/Makefile index 7eba21db0f..67787148b8 100644 --- a/configs/us7032evb1/shterm/Makefile +++ b/configs/us7032evb1/shterm/Makefile @@ -44,7 +44,7 @@ $(BIN)$(EXEEXT): $(SRC) $(HOSTCC) $(HOSTCFLAGS) $^ -o $@ ..$(DELIM)bin$(DELIM)$(BIN)$(EXEEXT): $(BIN)$(EXEEXT) - install --mode 0755 $^ $@ + install -m 0755 $^ $@ clean: $(call DELFILE, $(BIN)$(EXEEXT)) diff --git a/tools/mkromfsimg.sh b/tools/mkromfsimg.sh index 8811f19536..25329827bb 100755 --- a/tools/mkromfsimg.sh +++ b/tools/mkromfsimg.sh @@ -246,7 +246,7 @@ cat $rcstemplate | \ # And install it at the specified relative location -install -D --mode=0755 $rcsfile $workingdir/$uinitscript || \ +install -D -m 0755 $rcsfile $workingdir/$uinitscript || \ { echo "Failed to install $rcsfile at $workingdir/$uinitscript"; rm -f $rcsfile; exit 1; } rm -f $rcsfile