| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
| es:doc:howto:build [2018/02/19 21:31] – ↷ Links adapted because of a move operation | es:doc:howto:build [2018/06/08 18:50] – link fixed tmomas |
|---|
| ====== OpenWrt Buildroot – Uso ====== | ====== OpenWrt Buildroot – Uso ====== |
| | -> Volver a [[obtain.firmware|obtener el firmware]] o leer ->[[about:toolchain|OpenWrt Buildroot – Acerca de ...]] | | | -> Volver a [[obtain.firmware|obtener el firmware]] o leer ->[[docs:guide-developer:build-system:start|OpenWrt Buildroot – Acerca de ...]] | |
| |
| ===== Prerrequisitos ===== | ===== Prerrequisitos ===== |
| Similar a la configuración del kernel de Linux, casi todas las opciones tienen tres opciones, **y**, **m**, **n** las cuales representan como sigue: | Similar a la configuración del kernel de Linux, casi todas las opciones tienen tres opciones, **y**, **m**, **n** las cuales representan como sigue: |
| * presionando **y** yields to ''<*>'' label \\ This package will be included in the firmware image | * presionando **y** yields to ''<*>'' label \\ This package will be included in the firmware image |
| * pressing **m** yields to ''<M>'' label \\ This package will be compiled (to be installed with ''[[docs:user-guide:additional-software:opkg]]'' after [[docs:user-guide:generic.flashing|Flashing OpenWrt]]) but the package will **not** be included in the firmware-image | * pressing **m** yields to ''<M>'' label \\ This package will be compiled (to be installed with ''[[docs:guide-user:additional-software:opkg]]'' after [[docs:guide-user:installation:generic.flashing|Flashing OpenWrt]]) but the package will **not** be included in the firmware-image |
| * pressing **n** yields to ''< >'' label \\ This package will not be compiled. | * pressing **n** yields to ''< >'' label \\ This package will not be compiled. |
| |
| The changes can be reviewed with ''svn diff target/linux/'' and reverted with ''svn revert -R target/linux/''. | The changes can be reviewed with ''svn diff target/linux/'' and reverted with ''svn revert -R target/linux/''. |
| |
| See: [[doc:techref:buildroot#Customizing the kernel options]] | See: [[docs:techref:buildroot#Customizing the kernel options]] |
| |
| === Source Mirrors === | === Source Mirrors === |
| |
| ==== I can't find my <package> in menuconfig ==== | ==== I can't find my <package> in menuconfig ==== |
| - Have you run this command? [[doc:howto:build#updating.feeds|See this.]] <code>./scripts/feeds install <package></code> | - Have you run this command? [[docs:guide-developer:build-system:use-buildsystem#updating_feeds|See this.]] <code>./scripts/feeds install <package></code> |
| - Maybe you are not looking for it in the right submenu. See ''Makefile'' of the package to find out. <code>cat package/feeds/packages/<package>/Makefile</code> | - Maybe you are not looking for it in the right submenu. See ''Makefile'' of the package to find out. <code>cat package/feeds/packages/<package>/Makefile</code> |
| |
| |
| ==== Error: No rule to make target... ==== | ==== Error: No rule to make target... ==== |
| Make sure the path starts with ''package'' directory and that the path actually exist. The structure of ''feeds'' and ''package/feeds'' directory is different. [[doc:howto:build#building.single.packages|See this.]] | Make sure the path starts with ''package'' directory and that the path actually exist. The structure of ''feeds'' and ''package/feeds'' directory is different. [[docs:guide-developer:build-system:use-buildsystem#building_single_packages|See this.]] |
| * Wrong: ''make feeds/packages/**utils**/screen/compile V=s'' | * Wrong: ''make feeds/packages/**utils**/screen/compile V=s'' |
| * Correct: ''make **package**/feeds/packages/screen/compile V=s'' | * Correct: ''make **package**/feeds/packages/screen/compile V=s'' |
| |
| ==== WARNING: skipping <package> -- package not selected ==== | ==== WARNING: skipping <package> -- package not selected ==== |
| Run ''make menuconfig'' and enable compilation for your package. It should be labeled with ''<*>'' or ''<M>'' to work correctly. [[doc:howto:build#image.configuration|See this.]] | Run ''make menuconfig'' and enable compilation for your package. It should be labeled with ''<*>'' or ''<M>'' to work correctly. [[docs:guide-developer:build-system:use-buildsystem#image_configuration|See this.]] |
| |
| |
| ===== Notes ===== | ===== Notes ===== |
| * [[doc:techref:buildroot|OpenWrt Buildroot – Technical Reference]] | * [[docs:techref:buildroot|OpenWrt Buildroot – Technical Reference]] |
| * [[http://downloads.openwrt.org/docs/buildroot-documentation.html]] | * [[http://downloads.openwrt.org/docs/buildroot-documentation.html]] |
| * [[https://dev.openwrt.org/browser/trunk/docs/working.tex]] | * [[https://dev.openwrt.org/browser/trunk/docs/working.tex]] |
| * [[https://forum.openwrt.org/viewtopic.php?id=35323|Compiler Optimization Tweaks]] | * [[https://forum.openwrt.org/viewtopic.php?id=35323|Compiler Optimization Tweaks]] |