[U-Boot-Users] [1.3.2-rc1] MPC8548CDS/MPC8555CDS configs fails to link
Marcel Moolenaar
marcelm at juniper.net
Sat Feb 16 02:01:41 CET 2008
On Feb 15, 2008, at 3:34 PM, Wolfgang Denk wrote:
>> Build machine: FreeBSD-6.1
>>
>> apg-bbuild09% gmake distclean
>> find: -lname: unknown option
>> find: -lname: unknown option
>> find: -lname: unknown option
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> And you should pay attention to error messages like that. After such
> errors, all other problems may be just subsequent faults.
Those errors are harmless, I've been seeing those for a long
time. The problem is with sed(1). The following patch makes
things work for me:
apg-bbuild09% diff -u ~/U-Boot/u-boot-1.3.2/tools/scripts/
define2mk.sed.orig ~/U-Boot/u-boot-1.3.2/tools/scripts/define2mk.sed
--- /homes/marcelm/U-Boot/u-boot-1.3.2/tools/scripts/
define2mk.sed.orig Thu Dec 6 01:21:19 2007
+++ /homes/marcelm/U-Boot/u-boot-1.3.2/tools/scripts/define2mk.sed Fri
Feb 15 16:43:56 2008
@@ -7,11 +7,11 @@
#
# Only process values prefixed with #define CONFIG_
-/^#define CONFIG_[A-Za-z0-9_]\+/ {
+/^#define CONFIG_[A-Za-z0-9_]+/ {
# Strip the #define prefix
s/#define *//;
# Change to form CONFIG_*=VALUE
- s/ \+/=/;
+ s/ +/=/;
# Drop trailing spaces
s/ *$//;
# drop quotes around string values
Escaping the '+' makes it a literal character and that's
not what's meant here...
...or am I missing something obvious?
--
Marcel Moolenaar
marcelm at juniper.net
More information about the U-Boot
mailing list