Skip to contentSkip to conversation

svn commit: trunk/buildroot

Buildroot ulf at uclibc.org 5 participants 7 messages Jul 7, 2008 – Jul 8, 2008

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2008-07-07 16:20:09 -0700 (Mon, 07 Jul 2008) New Revision: 22676

Log:
Fix log

Modified:
trunk/buildroot/Makefile

Changeset:
Modified: trunk/buildroot/Makefile
===================================================================

buildroot/Makefile +1 -2
@@ -485,9 +485,8 @@
 log:	.lognr.$(PROJECT)
 	@expr `cat .lognr.$(PROJECT)` + 1 > .lognr.$(PROJECT)	
 	@echo Creating $(PROJECT)-`cat .lognr.$(PROJECT)`.log
-	@$(MAKE) testing > $(PROJECT)-`cat .lognr.$(PROJECT)`.log 2>&1 
+	@$(MAKE) > $(PROJECT)-`cat .lognr.$(PROJECT)`.log 2>&1 
 
-testing:
 
 cross: $(BASE_TARGETS)
 
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"ulf" == ulf <[email protected]> writes:

ulf> Author: ulf
ulf> Date: 2008-07-07 16:20:09 -0700 (Mon, 07 Jul 2008) ulf> New Revision: 22676

ulf> Log:
ulf> Fix log

ulf> Modified:
ulf> trunk/buildroot/Makefile

ulf> Changeset:
ulf> Modified: trunk/buildroot/Makefile
ulf> ===================================================================
ulf> --- trunk/buildroot/Makefile 2008-07-07 18:32:41 UTC (rev 22675)
ulf> +++ trunk/buildroot/Makefile 2008-07-07 23:20:09 UTC (rev 22676)
ulf> @@ -485,9 +485,8 @@

 ulf>  log:	.lognr.$(PROJECT)
 ulf>  	@expr `cat .lognr.$(PROJECT)` + 1 > .lognr.$(PROJECT)	
 ulf>  	@echo Creating $(PROJECT)-`cat .lognr.$(PROJECT)`.log

ulf> - @$(MAKE) testing > $(PROJECT)-cat .lognr.$(PROJECT).log 2>&1
ulf> + @$(MAKE) > $(PROJECT)-cat .lognr.$(PROJECT).log 2>&1

I'm still questioning how general this is. I could imagine other people wanting a different naming convention (E.G. perhaps something with the timestamp instead of just a number), and maybe store it together with the output files (binaries/<project>).

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Korsgaard skrev:

Quoted 22 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"ulf" == ulf <[email protected]> writes:

ulf> Author: ulf
ulf> Date: 2008-07-07 16:20:09 -0700 (Mon, 07 Jul 2008) ulf> New Revision: 22676

ulf> Log:
ulf> Fix log

ulf> Modified:
ulf> trunk/buildroot/Makefile

ulf> Changeset:
ulf> Modified: trunk/buildroot/Makefile
ulf> ===================================================================
ulf> --- trunk/buildroot/Makefile 2008-07-07 18:32:41 UTC (rev 22675)
ulf> +++ trunk/buildroot/Makefile 2008-07-07 23:20:09 UTC (rev 22676)
ulf> @@ -485,9 +485,8 @@

 ulf>  log:	.lognr.$(PROJECT)
 ulf>  	@expr `cat .lognr.$(PROJECT)` + 1 > .lognr.$(PROJECT)	
 ulf>  	@echo Creating $(PROJECT)-`cat .lognr.$(PROJECT)`.log
Quoted 8 lines

ulf> - @$(MAKE) testing > $(PROJECT)-cat .lognr.$(PROJECT).log 2>&1
ulf> + @$(MAKE) > $(PROJECT)-cat .lognr.$(PROJECT).log 2>&1

I'm still questioning how general this is. I could imagine other people wanting a different naming convention (E.G. perhaps something with the timestamp instead of just a number), and maybe store it together with the output files (binaries/<project>).

I do not mind discussing implementation.
Personally - I think that storing with a time-stamp in the binaries/project is OK, for a completed
build, but intermediate builds are better in the top directory, to have easy access and indication of failure.

OpenEmbedded stores the log for each package separately which is nice but their build system is very different.

BR
Ulf Samuelsson

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIcwCfAyRRH5cXxqwRApwmAKCU2FSezvuWlUYLYWx5QGM/1bep2QCdGq6e QFLeqdoxHOzBgdyeZ5BJ5oA=
=0g15
-----END PGP SIGNATURE-----

#3 lore raw
In reply to Peter Korsgaard
Quoted 4 lines · Peter Korsgaard

I'm still questioning how general this is. I could imagine other people wanting a different naming convention (E.G. perhaps something with the timestamp instead of just a number), and maybe store it together with the output files (binaries/<project>).

Maybe we need to a -include a Makefile.local which would allow Ulf and others to customise the make without changing the master Makefile..

Personally I have some makefile mods in my local tree which aren't of general interest, but I just merge in the stuff from the buildroot repository with no major problems.

Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
#4 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Hamish" == Hamish Moffatt <[email protected]> writes:

Hi,

Quoted 4 lines · Peter Korsgaard
Quoted 4 lines

I'm still questioning how general this is. I could imagine other people wanting a different naming convention (E.G. perhaps something with the timestamp instead of just a number), and maybe store it together with the output files (binaries/<project>).

Hamish> Maybe we need to a -include a Makefile.local which would Hamish> allow Ulf and others to customise the make without changing Hamish> the master Makefile..

Yes, that might be an idea.

Hamish> Personally I have some makefile mods in my local tree which Hamish> aren't of general interest, but I just merge in the stuff Hamish> from the buildroot repository with no major problems.

Me too.

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw
Quoted 5 lines · Peter Korsgaard

Hamish> Maybe we need to a -include a Makefile.local which would Hamish> allow Ulf and others to customise the make without changing Hamish> the master Makefile..

Yes, that might be an idea.

Similarly one in package/Config.in would be nice. I have some custom packages that are not meant to be commited, and sometimes I get conflicts.

#6 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thiago A. Corr?a skrev:

Quoted 10 lines · Peter Korsgaard
Quoted 5 lines

Hamish> Maybe we need to a -include a Makefile.local which would Hamish> allow Ulf and others to customise the make without changing Hamish> the master Makefile..

Yes, that might be an idea.

Similarly one in package/Config.in would be nice. I have some custom packages that are not meant to be commited, and sometimes I get conflicts.

I proposed this two years ago.
The idea was to have a directory "local", which contains an empty Makefile.in and an empty Config.in

By overwriting these files with something else you can add your own stuff, by just copying your real local directory to a new buildroot tree.

This was not well received because it would allow people to build things not present in the mainstream, and it is good to make it hard for people to do things which is not supported by mainstream.

Today buildroot supports storing and retrieving custom project configurations by "make saveconfig" and this will create the local directory if not present
and if the BR2_LOCAL environment variable is not set. If it is set, then the local directory can located elsewhere.

Maybe it is time to add this.

Quoted 4 lines

_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIc4qtAyRRH5cXxqwRAr0vAJ42jpxj9lN/t8k64uKlC02N5rvOwQCgn00X /kCYLxgsJu+91S7MXcZ6MFE=
=ydpb
-----END PGP SIGNATURE-----