Skip to contentSkip to conversation

PATCH: Re: svn commit: trunk/buildroot:package?package/busybox project target/ etc...

Buildroot Rick Foos 1 participant 1 message Jul 12, 2007

lore
Share & tools
lore

Rick Foos

author
#0 lore raw

I'm having a problem with the color corrected Makefile in revision 19078.

The change to correct the vicolors to the PROJECT variable inserts a space after the uclibc target. Numerous warning messages are then displayed when building.

I'm using GNU Make 3.81 on Fedora 7.

I made an xxx target in Makefile, and displayed project, old project, and new project - a fix I am proposing.

From the echo command, you can see that extra blanks are inserted after the target "uclibc " that were not there in the previous release ("uclibc").

echo "*** project: uclibc "
*** project: uclibc
echo "*** oproject: uclibc"
*** oproject: uclibc
echo "*** nproject: uclibc"
*** nproject: uclibc

I simply removed the spaces between the last ' )' and the '#' start of the comment to correct the problem. The vi colors are still correct with this fix.

Best Regards,
Rick Foos

---- example of warnings.

Quoted 1 line

[rick at mspd00 build]$ make xxx

--- snip

Quoted 6 lines

Makefile:231: warning: ignoring old commands for target `/home/rick/build/projec
t_build_i386/uclibc'
Makefile:247: warning: overriding commands for target `/home/rick/build/project_
build_i386/uclibc'

Quoted 8 lines

Makefile:242: warning: ignoring old commands for target `/home/rick/build/projec
t_build_i386/uclibc'
echo "*** project: uclibc "
*** project: uclibc
echo "*** oproject: uclibc"
*** oproject: uclibc
echo "*** nproject: uclibc"

*** nproject: uclibc
--- snip

Quoted 57 lines

----- Original Message -----
From: "Bernhard Fischer" <[email protected]>
To: "Yann E. MORIN" <[email protected]>
Cc: <[email protected]>
Sent: Thursday, July 12, 2007 11:24 AM
Subject: Re: [Buildroot] svn commit:
trunk/buildroot:package?package/busybox project target/ etc...

Quoted 47 lines · Yann E. MORIN
Quoted 10 lines

Ulf, Bernhard,
All,

Quoted 6 lines · Ulf Samuelsson

tor 2007-07-12 klockan 16:42 +0200 skrev Bernhard Fischer:

Quoted 5 lines · ulf at uclibc.org

Review

Quoted 3 lines
(quoted diff) +3 -0
+PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
+HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
+BANNER:=$(strip $(subst ",, $(BR2_BANNER)))

This breaks vi's syntax highlighing, please fix

Quoted 6 lines
Quoted 1 line

Pls supply a template on what you want me to do.

I guess something like the following:

PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
# Shut up you stupid vim! "

close.
# ")))

Ulf, just do :syntax on

Quoted 11 lines

HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
# Shut up you stupid vim! "

And so on... Maybe comments at the end of the line would do as well...

Regards,
Yann E. MORIN.

PS. Using vi exclusively here, but no syntax highlighting, which I find
ultimately annoying. Thank you, I know (or tend to) what I'm doing!
:-)

It's handy at times..
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

Signature · 3 lines
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.10.4/897 - Release Date: 7/11/2007

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vicolor-makefile.patch
Type: application/octet-stream
Size: 554 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070712/1763257f/attachment.obj