It doesn't seem reasonable to me to presume that all targets support the elfloader. Therefore shell-exec.c may not be part of the common source files. For now I just moved it to the sky dependent source. In case the dependency on the sky target is undesirable someone needs to come up with a more flexible approach.
This commit is contained in:
parent
10cabda581
commit
47dc2d8020
@ -1,11 +1,11 @@
|
||||
shell_src = shell.c serial-shell.c shell-reboot.c \
|
||||
shell-vars.c shell-ps.c shell-rime.c shell-sendtest.c \
|
||||
shell-blink.c shell-text.c shell-time.c \
|
||||
shell-file.c shell-netfile.c shell-exec.c shell-run.c \
|
||||
shell-rime-ping.c shell-rime-sniff.c shell-rime-netcmd.c \
|
||||
#shell-rsh.c
|
||||
shell-vars.c shell-ps.c shell-rime.c shell-sendtest.c \
|
||||
shell-blink.c shell-text.c shell-time.c \
|
||||
shell-file.c shell-netfile.c shell-run.c \
|
||||
shell-rime-ping.c shell-rime-sniff.c shell-rime-netcmd.c \
|
||||
#shell-rsh.c
|
||||
shell_dsc = shell-dsc.c
|
||||
|
||||
ifeq ($(TARGET),sky)
|
||||
shell_src += shell-sky.c
|
||||
shell_src += shell-sky.c shell-exec.c
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user