Skip to contentSkip to conversation

new way to rebuld just the target root?

Buildroot Igor Serebryany 2 participants 3 messages Nov 12, 2010

lore
Share & tools
lore
#0 lore raw

hi,

i've asked this question before, but it seems the structure of the buildroot output directories has changed since I last upgraded.

using 2009.08, i would do the following to have buildroot rebuild ONLY the target filesystem:

* remove everything in project_build_*arch*/*myname*/autotools-stamps
* remove the project_build_*arch*/*myname*/root directory
* remove the project_build_*arch*/*myname*/.root file

however, this directory structure doesn't exist anymore, and just removing 'output/target' and 'output/staging' doesn't seem to work/causes problems.

is there a new way to rebuild JUST the target filesystem?

--igor

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101111/aa26c951/attachment.pgp>

#1 lore raw

addendum: i can see that packages often have a .stamp_target_installed file, and I wouldn't mind going through and deleting all of those, but how do i get the entire target directory re-created, including copying from skeleton?

--igor

Quoted 23 lines · Igor Serebryany

hi,

i've asked this question before, but it seems the structure of the buildroot output directories has changed since I last upgraded.

using 2009.08, i would do the following to have buildroot rebuild ONLY the target filesystem:

* remove everything in project_build_*arch*/*myname*/autotools-stamps
* remove the project_build_*arch*/*myname*/root directory
* remove the project_build_*arch*/*myname*/.root file

however, this directory structure doesn't exist anymore, and just removing 'output/target' and 'output/staging' doesn't seem to work/causes problems.

is there a new way to rebuild JUST the target filesystem?

--igor

Quoted 4 lines

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101111/7dd1c7d5/attachment.pgp>

#2 lore raw

Hi Igor,

Am Freitag, 12. November 2010, 02:27:44 schrieb Igor Serebryany:

Quoted 4 lines

addendum: i can see that packages often have a .stamp_target_installed file, and I wouldn't mind going through and deleting all of those, but how do i get the entire target directory re-created, including copying from skeleton?

I've added this rule to the toplevel Makefle:

clean-target:

        rm -rf $(TARGET_DIR) $(STAGING_DIR) $(STAMP_DIR) $(BUILD_DIR)/.root 

$(BUILD_DIR)/*/.stamp_target_installed $(BUILD_DIR)/*/.stamp_staging_installed $(BUILD_DIR)/linux-*/.stamp_installed $(BUILD_DIR)/*/.built

It removes the staging dir as well because that doesn't cost so much in terms of rebuild-time but keeps quite some problems away. But it's most likely not complete, so I'm not going to post it as a patch. Serves me quite well though.

HTH,
Malte

Quoted 29 lines · Igor Serebryany
Quoted 27 lines

hi,

i've asked this question before, but it seems the structure of the buildroot output directories has changed since I last upgraded.

using 2009.08, i would do the following to have buildroot rebuild ONLY the target filesystem:

* remove everything in project_build_*arch*/*myname*/autotools-stamps
* remove the project_build_*arch*/*myname*/root directory
* remove the project_build_*arch*/*myname*/.root file

however, this directory structure doesn't exist anymore, and just removing 'output/target' and 'output/staging' doesn't seem to work/causes problems.

is there a new way to rebuild JUST the target filesystem?

--igor

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