[buildroot 0000786]: BR2_PACKAGE_MTD_ORIG_STRING is not set and make failes

bugs at busybox.net bugs at busybox.net
Mon Apr 10 13:36:53 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=786 
====================================================================== 
Reported By:                badknees
Assigned To:                uClibc
====================================================================== 
Project:                    buildroot
Issue ID:                   786
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-15-2006 16:56 PST
Last Modified:              04-10-2006 06:36 PDT
====================================================================== 
Summary:                    BR2_PACKAGE_MTD_ORIG_STRING is not set and make
failes
Description: 
When not using the snapshot mtd the make failes because the
BR2_PACKAGE_MTD_ORIG_STRING variable is not set. Make calls on tar to
untar the dl/ directory, which of cource failes.
If i wasn't in such a hurry i would have submitted a patch, sorry.
Maybe later.
====================================================================== 

---------------------------------------------------------------------- 
 ruscal - 03-22-06 16:47  
---------------------------------------------------------------------- 
I believe the problem arrises because in the mtd.mk file the
$(DL_DIR)/$(MTD_SOURCE): target resolves to
$(DL_DIR)/"mtd_20050122.orig.tar.gz" rather than
$(DL_DIR)/mtd_20050122.orig.tar.gz .  The attached mtd.mk changes the
value of MTD_SOURCE to MTD_SOURCE:=$(subst ",,$(strip
$(BR2_PACKAGE_MTD_ORIG_STRING))) which fixed mtd builds for me when not
using the latest snapshot. 

---------------------------------------------------------------------- 
 jacmet - 04-10-06 06:36  
---------------------------------------------------------------------- 
Yes, the missing stripping of quotes is exactly the problem. The attached
patch (mtd-strip-qoutes.patch) fixes it. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-15-06 16:56  badknees       New Issue                                    
03-15-06 16:56  badknees       Status                   new => assigned     
03-15-06 16:56  badknees       Assigned To               => uClibc          
03-22-06 16:47  ruscal         File Added: mtd.mk                           
03-22-06 16:47  ruscal         Note Added: 0001193                          
04-10-06 06:35  jacmet         File Added: mtd-strip-quotes.patch               
    
04-10-06 06:36  jacmet         Note Added: 0001244                          
======================================================================




More information about the uClibc-cvs mailing list