hello,
i compile my uClinux(linux 2.4.X)under ubuntu, I want to add a simple application to my core
so, i follow this method
http://docs.blackfin.uclinux.org/doku.php?id=adding_user_applications

******************************************************
I add on
uClinux-dist/user/Makefile:
dir_$(CONFIG_USER_MYPROG_MYPROG) += myprog
******************************************************
in this file uClinux-dist/user/Makefile
CONFIG_USER_MYPROG_MYPROG
This is my program
**************************************************
uClinux-dist/config/
config.in

bool 'myprog' CONFIG_USER_MYPROG_MYPROG
******************************************************
and finally in

uClinux-dist/user/myprog/Makefile
*******************************************************
EXEC = myprog
OBJS = myprog.o



all: $(EXEC)

$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)



romfs:
$(ROMFSINST) /bin/$(EXEC)


clean:
rm -f $(EXEC) *.elf *.gdb *.o
********************************************************

when I compile with make menuconfig, it show the application myprog
but after make dep, make it show on the end

make[3]: Entering directory `/home/souhail/uClinux-dist/user/myprog'
make[3]: *** No rule to make target `myprog.o', needed by `myprog'. Stop.
make[3]: Leaving directory `/home/souhail/uClinux-dist/user/myprog'
make[2]: *** [myprog] Error 2

Has anyone any idea about this error ?and thanks in advance.




Envoyé avec Yahoo! Mail.
Capacité de stockage illimitée pour vos emails.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to