Thread (2 messages) 2 messages, 2 authors, 2007-07-19

[Buildroot] Buildroot Build Procedure

flat view

From: Jerry Richards <hidden>
Date: 2007-07-18 18:19:46

Hello All,

My understanding is my buildroot/Makefile will re-build the toolchain and
the
buildroot/build_mipsel_nofpu/linux-2.6.10_dev-malta-mips2_fp_len/Makefile
will re-build my kernel.  This is correct?

I also want to write some applications to the root filesystem prior to
compressing it (i.e. to CRAMFS or SQUASHFS).

Since the buildroot make creates the compressed filesystem, I find I must
run it twice (steps 2 & 7, below) as shown in the following complete
re-build:

	1) In <>/buildroot, execute "make clean".
	2) In <>/buildroot, execute "make".
	3) In <>/buildroot/build_m*/lin*, execute "make clean".
	4) In <>/buildroot/build_m*/lin*, execute "make".
	5) In <>/apps, execute "make clean".
	6) In <>/apps, execute "make".
	7) Copy application(s) to <>/buildroot/build_m*/root/...
	8) In <>/buildroot, execute "make".   <------- TO CREATE COMPRESSED FS
	9) Done.

Is this the correct procedure?  Is there a shortcut I'm missing?

Then, if I want to just do a build (not re-build) of everything I should do
the following?

	2) In <>/buildroot, execute "make".
	4) In <>/buildroot/build_m*/lin*, execute "make".
	6) In <>/apps, execute "make".
	7) Copy application(s) to <>/buildroot/build_m*/root/...
	8) In <>/buildroot, execute "make".   <------- TO CREATE COMPRESSED FS
	9) Done.

Best Regards,
Jerry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help