summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/examples/posix_spawn/filesystem/Makefile2
-rw-r--r--apps/examples/posix_spawn/filesystem/redirect/Makefile2
-rw-r--r--nuttx/arch/arm/src/stm32/chip/stm32_exti.h2
-rw-r--r--nuttx/configs/us7032evb1/shterm/Makefile2
-rwxr-xr-xnuttx/tools/mkromfsimg.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/posix_spawn/filesystem/Makefile b/apps/examples/posix_spawn/filesystem/Makefile
index 26897426c..7e25ce241 100644
--- a/apps/examples/posix_spawn/filesystem/Makefile
+++ b/apps/examples/posix_spawn/filesystem/Makefile
@@ -66,7 +66,7 @@ redirect/redirect:
$(ROMFS_IMG): hello/hello redirect/redirect testdata.txt $(ROMFS_DIR)
$(Q) $(MAKE) -C hello install TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" ROMFS_DIR="$(ROMFS_DIR)"
$(Q) $(MAKE) -C redirect install TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" ROMFS_DIR="$(ROMFS_DIR)"
- $(Q) install --mode=0644 testdata.txt $(ROMFS_DIR)/testdata.txt
+ $(Q) install -m 0644 testdata.txt $(ROMFS_DIR)/testdata.txt
$(Q) genromfs -f $@ -d $(ROMFS_DIR) -V "POSIXSPAWN"
# Create the romfs.h header file from the romfs.img file
diff --git a/apps/examples/posix_spawn/filesystem/redirect/Makefile b/apps/examples/posix_spawn/filesystem/redirect/Makefile
index 421ff014a..e5f5e985c 100644
--- a/apps/examples/posix_spawn/filesystem/redirect/Makefile
+++ b/apps/examples/posix_spawn/filesystem/redirect/Makefile
@@ -56,4 +56,4 @@ clean:
install:
$(Q) mkdir -p $(ROMFS_DIR)
- $(Q) install --mode=0755 $(BIN) $(ROMFS_DIR)/$(BIN)
+ $(Q) install -m 0755 $(BIN) $(ROMFS_DIR)/$(BIN)
diff --git a/nuttx/arch/arm/src/stm32/chip/stm32_exti.h b/nuttx/arch/arm/src/stm32/chip/stm32_exti.h
index b9b27e347..1f02f7fee 100644
--- a/nuttx/arch/arm/src/stm32/chip/stm32_exti.h
+++ b/nuttx/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/nuttx/configs/us7032evb1/shterm/Makefile b/nuttx/configs/us7032evb1/shterm/Makefile
index 7eba21db0..67787148b 100644
--- a/nuttx/configs/us7032evb1/shterm/Makefile
+++ b/nuttx/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/nuttx/tools/mkromfsimg.sh b/nuttx/tools/mkromfsimg.sh
index 8811f1953..25329827b 100755
--- a/nuttx/tools/mkromfsimg.sh
+++ b/nuttx/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