X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/5f26386e801daed2b2aaa3031a5ebf23f082c41f..9c827a68c1fb88ce9cf47fe9d944c788390b8e70:/openwrt/docs/buildroot-documentation.html diff --git a/openwrt/docs/buildroot-documentation.html b/openwrt/docs/buildroot-documentation.html index 4f19b0d07..ede3796a6 100644 --- a/openwrt/docs/buildroot-documentation.html +++ b/openwrt/docs/buildroot-documentation.html @@ -156,25 +156,13 @@
There are two ways to customize the resulting target filesystem:
- -build_ARCH/root/
where
- ARCH
is the chosen target architecture, usually mipsel.
- You can simply make your changes here, and run make target_install afterwards,
- which will rebuild the target filesystem image. This method allows to do
- everything on the target filesystem, but if you decide to rebuild your toolchain,
- tools or packages, these changes will be lost.target/default/target_skeleton/
. You can customize
- configuration files or other stuff here. However, the full file hierarchy
- is not yet present, because it's created during the compilation process.
- So you can't do everything on this target filesystem skeleton, but
- changes to it remains even when you completely rebuild the cross-compilation
- toolchain and the tools.package/base-files/default/
. You can change
+ configuration files or other stuff here. However, the full file hierarchy
+ is not yet present, because it's created during the compilation process.
+ So you can't do everything on this target filesystem skeleton, but
+ changes to it remains even when you completely rebuild the cross-compilation
+ toolchain and the tools.IPKG_BUILD
is called to create the package.
+ If you want other targets to be executed at compile
,
+ install
or clean
time (e.g. for installing
+ a library into the staging dir), just create the targets (usually
+ install-dev
and uninstall-dev
) and enable
+ them like this:
+
+compile-targets: install-dev +clean-targets: uninstall-dev ++
As you can see, adding a software to buildroot is simply a