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:
oliverschmidt 2008-03-28 22:36:52 +00:00
parent 10cabda581
commit 47dc2d8020

View File

@ -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