[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] uClinux Dhrystone option
> After getting a kernel to succesfully build I tried to build the same
> kernel with the dhrystone option enabled. But I get the following error
> when I run make.
> make Entering directory '/rot/uClinux-dist/user/dhrystone'
> make *** No rule to make target 'romfs'. Stop.
> make Leaving directory '/root/uClinux-dist/user/dhrystone'
> make *** [romfs] Error 2
> make Leaving directory '/root/uClinux-dist/user'
> make: *** [romfs] Error 1
> Not sure why it is doing this or what i need to do to make this.
Sounds like a broken copy of the makefile. Start by looking at
uClinux-dist/user/dhrystone/Makefile... here's what mine looks like:
EXEC = dhrystone
OBJS = dhry_1.o dhry_2.o
CFLAGS += -DNO_PROTOTYPES=1
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBM) $(LDLIBS)
-rm -f $(EXEC) *.elf *.gdb *.o
If yours looks different, it's probably broken, just grab a fresh copy
via a CVS update or whatever.
If it looks like that, make sure it's not munged with CR/LF pairs or
similar, as can happen if you pull source code via a windows box.
Not sure what else to suggest, this should just work, and usually does.
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/