Problem with buildroot's mtd.mk?
thomas.cooksey at bt.com
thomas.cooksey at bt.com
Thu May 18 16:52:51 UTC 2006
I've been trying to tack down a problem with buildroot producing an
error starting with:
"tar: /home/hagra/gumstix/buildroot/dl/: Cannot read: Is a directory"
I've traced this to the mtd.mk. I think it stems from
BR2_PACKAGE_MTD_ORIG_STRING not being defined anywhere. This in turn
makes MTD_SOURCE evaluate to nothing which is causing the $(MTD_UNZIP)
command in the "$(MTD_HOST_DIR)/.unpacked:" rule at line 50(ish) try and
untar the download directory. :-(
This rule is used if there is no mkfs.jffs2 already on the system and a
daily snapshot of the jffs2 utilities is not being used
(BR2_PACKAGE_MTD_SNAPSHOT != y).
Have I missed something really obvious? If not, where should
BR2_PACKAGE_MTD_ORIG_STRING be defined? In the base-level .config file?
Should the Config.in in the mtd directory define this variable to
something?
I'd prefer not to just bodge it just in case this is a problem other
people are either having or are going to have in the future.
Cheers,
Tom Cooksey
PS: This was in a buildroot snapshot a few weeks old and today's
(18/5/06).
More information about the uClibc
mailing list