Hi David,
On Fri, Dec 07, 2007 at 01:14:02AM +1000, David McCullough wrote:
>
> Make sure you makefile is not including another or getting a romfs
> target from another file. It could be coming from something like
> the "Generic" romfs directory. Put your commands at the end of the
> romfs target perhaps ?
reading all the messages when issuing make reveals the simple
reason: "nothing to be done for romfs"...
I do not yet understand why this happens but just wanted to let you
know that it is getting further here, too. ;-)
Best regards,
Wolfgang
PS: This is my romfs entry, basically copied from some examples:
romfs:
[ -d $(ROMFSDIR)/$$i ] || mkdir -p $(ROMFSDIR)
for i in $(ROMFS_DIRS); do \
[ -d $(ROMFSDIR)/$$i ] || mkdir -p $(ROMFSDIR)/$$i; \
done
for i in $(DEVICES); do \
touch $(ROMFSDIR)/dev/@$$i; \
done
# these permissions are needed for openpty and family to work
# on non-ptmx ptys
chmod 620 $(ROMFSDIR)/dev/@[pt]ty[pqrsPQRS][0-9a-f],*
for i in $(FLASH_DEVICES); do \
touch $(ROMFSDIR)/dev/flash/@$$i; \
done
for i in $(I2C_DEVICES); do\
touch $(ROMFSDIR)/dev/i2c/@$$i; \
done
dirs=$(DIRS) ; \
for i in $$dirs; do make -C $$i romfs || exit $? ; done
$(ROMFSINST) -s /var/tmp /tmp
$(ROMFSINST) romfs /
$(ROMFSINST) ../../Generic/small/inittab /etc/inittab
$(ROMFSINST) etc/rc /etc/rc
if [ $(CONFIG_BLK_DEV_INITRD) = "y" ]; then \
ln -sf bin/init $(ROMFSDIR)/linuxrc; \
ln -sf bin/init $(ROMFSDIR)/init; \
fi
echo "$(VERSIONSTR) -- " `date` > $(ROMFSDIR)/etc/version
_______________________________________________
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