--- Quote End ---
I am thinking of drop the mx140apps and use only uClinux-dist for apps. How do you think?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15393)</div>
--- Quote End ---
Hello Hippo,
First of-all thanks for apreciating my suggestion.
I think it will be a good option. because we want to enable apps. but for different apps have work with both dir apps/ and uClinux-dist/.
Kindly add the patch to mx140apps.diff as patch for telnetd
********************************************************************************
***
The below is telnetd-Makefile modified version (modified by Goutam)
********************************************************************************
***# # configurable options# - set DEBUG = 1 to turn on debugging support#
DEBUG = 0
PROJ_NAME = telnetd
INSTALL_DIR = ~/rootfs
PROGS := $(PROJ_NAME)
CFLAGS += -O2
CROSS := nios2-linux-uclibc-
CC := $(CROSS)gcc
# # You should not need to modify anything beyond this point#
FLTFLAGS := -s 8192
CFLAGS += -DPARANOID_TTYS
-DTERMCAP
-DUSE_TERMIO
-DKLUDGELINEMODE
-D_GNU_SOURCE
OBJS = global.o logwtmp.o state.o telnetd.o termstat.o
authenc.o logout.o slc.o sys_term.o utility.o
all: $(PROGS)
$(PROJ_NAME): $(OBJS)
$(CC) -elf2flt="$(FLTFLAGS)" -o $@ $^
.PHONY: clean
clean:
-rm -f *.[oad] *.gdb $(PROJ_NAME)
.PHONY: install
install: all
ifeq "$(INSTALL_DIR)" ""
$(error No installation directory specified)
endif
mkdir -p $(INSTALL_DIR)/bin
install -v $(PROGS) $(INSTALL_DIR)/bin
********************************************************************************
***