Skip to contentSkip to conversation

Execute Makefile before genrate rootfs

Buildroot Lars Lockenvitz 2 participants 2 messages Jul 24, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

I'm looking for a way to execute a Makefile or script after all packages are build and installed but befor buildroot is generating the rootfs filr. The reason is that for different projects I maybe need the same platform, packages and so on, but different settings for example in inittab or other coniguration files.

I hope someone know how to do this?!

Regards

#1 lore raw
Quoted 6 lines · Lars Lockenvitz

I'm looking for a way to execute a Makefile or script after all packages are build and installed but befor buildroot is generating the rootfs filr.
The reason is that for different projects I maybe need the same platform, packages and so on, but different settings for example in inittab or other coniguration files.

We had the same demand, and I submitted a patch to do exactly that some weeks ago. It was found to be useful by people, and we're actively using it here in our tree, but it hasn't been commited to mainline yet.

I've attached it again, at least for you to pick it :)

Daniel