diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-06-15 13:22:44 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-06-15 13:22:44 -0600 |
commit | a4017cd2c995ccedae2e604294b1c1f4736e08b5 (patch) | |
tree | a3652d00bcb2c27ae9a64c7787410655ddd119d9 /apps/system/hex2bin | |
parent | 70b01d5396e2931ade9452925dc1e96be2318012 (diff) | |
download | px4-nuttx-a4017cd2c995ccedae2e604294b1c1f4736e08b5.tar.gz px4-nuttx-a4017cd2c995ccedae2e604294b1c1f4736e08b5.tar.bz2 px4-nuttx-a4017cd2c995ccedae2e604294b1c1f4736e08b5.zip |
Fix an error in exec(). argv[] has not being passed
Diffstat (limited to 'apps/system/hex2bin')
-rw-r--r-- | apps/system/hex2bin/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/system/hex2bin/Makefile b/apps/system/hex2bin/Makefile index ce50879b1..7b9acbade 100644 --- a/apps/system/hex2bin/Makefile +++ b/apps/system/hex2bin/Makefile @@ -40,7 +40,11 @@ include $(APPDIR)/Make.defs # I2C tool ASRCS = -CSRCS = hex2bin.c hex2bin_main.c +CSRCS = hex2bin.c + +ifeq ($(CONFIG_SYSTEM_HEX2BIN_BUILTIN),y) +CSRCS += hex2bin_main.c +endif AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) @@ -81,7 +85,7 @@ $(COBJS): %$(OBJEXT): %.c # Register application -ifeq ($(CONFIG_SYSTEM_HEX2BIN_BUILTINS),y) +ifeq ($(CONFIG_SYSTEM_HEX2BIN_BUILTIN),y) $(BUILTIN_REGISTRY)$(DELIM)hex2bin.bdat: $(DEPCONFIG) Makefile $(call REGISTER,"hex2bin",$(PRIORITY),$(STACKSIZE),hex2bin_main) |