Skip to contentSkip to conversation

PATCH/RFC: Move all project specific files into the output directory

Buildroot Will Wagner 2 participants 2 messages Jan 27, 2010

lore
Share & tools
lore
#0 lore raw

Currently buildroot places most files generated by the build in the output directory (which can be overriden with O=). However a number of files remain within the buildroot tree.

These are:
.auto.deps (incidentally this no longer seems to be used) .config
.config.cmd
.config.old
package/config/buildroot-config (which then gets copied into output/build)

This is a problem if you want to use the same buildroot directory to build two different targets to locations elsewhere in the filesystem with O=

The patch modifies config and the top level Makefile so that all files reside in the output folder.

Is anyone interested in getting this merged? All feedback welcome, let me know if the patch needs more work.

Will
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0011-Moved-config-files-into-output-directory.patch
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100127/3144b11a/attachment.diff>

#1 lore raw

This was missing, great !
The kernel is able to put all generated files outside of its source tree, it might be possible here too.

--
Lionel

Quoted 20 lines · Will Wagner

Currently buildroot places most files generated by the build in the output directory (which can be overriden with O=). However a number of files remain within the buildroot tree.

These are:
.auto.deps (incidentally this no longer seems to be used) .config
.config.cmd
.config.old
package/config/buildroot-config (which then gets copied into output/build)

This is a problem if you want to use the same buildroot directory to build two different targets to locations elsewhere in the filesystem with O=

The patch modifies config and the top level Makefile so that all files reside in the output folder.

Is anyone interested in getting this merged? All feedback welcome, let me know if the patch needs more work.

Quoted 7 lines

Will

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100127/e4c8758d/attachment.htm>