Hi,
I am using mcf547x_8x-non-pcs_bsp-050321 and trying to add my test application in compiled image.
I have taken all steps in Quick Start manual
My user/config.in file changes are as follows
bool 'strace' CONFIG_USER_STRACE
bool 'ncurses library' CONFIG_USER_NCURSES
#****My change Start*******
bool 'client' CONFIG_USER_CLIENT
bool 'server' CONFIG_USER_SERVER
#****My change End*******
user/Makefile changes in their respective tags are as follows
DIRSc$(CONFIG_USER_CLIENT) += client
DIRSc$(CONFIG_USER_SERVER) += server
all:
ifeq ($(strip $(CONFIG_USER_CLIENT)),y)
make -C client CC=$(shell cat ../cross-compile-prefix)gcc
endif
ifeq ($(strip $(CONFIG_USER_SERVER)),y)
make -C server CC=$(shell cat ../cross-compile-prefix)gcc
endif
install:
ifeq ($(strip $(CONFIG_USER_CLIENT)),y)
install -m 755 ./client/client /usr/bin
endif
ifeq ($(strip $(CONFIG_USER_SERVER)),y)
install -m 755 ./server/server /usr/bin
endif
I also added the following lines in defconfigs/user/.config
CONFIG_USER_CLIENT=y
CONFIG_USER_SERVER=y
now the problem is that when I compile the image, both test programs i.e. client and server gets compile successfully and I can see their executables in the respective directories, but when I load the image I do not find any one of the application in /usr/bin or any other directory.
Please advice me how to add my application in image.bin.
Take care
Fakhar