Revisió 973bac34
Afegit per Roger Pueyo Centelles fa aproximadament 10 anys
| README | ||
|---|---|---|
|
|
||
|
To compile a qMp image from scratch, you need to specify the target (next example with target=rspro):
|
||
|
This command will run all necessary commands to compile the image. After the compilation you can see the
|
||
|
OpenWRT code in directory: build/[target]
|
||
|
LEDE code in directory: build/[target]
|
||
|
|
||
|
make T=rspro build
|
||
|
|
||
| ... | ... | |
|
make T=rspro sync_config
|
||
|
|
||
|
---------------------------------------------------------------------------------
|
||
|
To run menuconfig (from openwrt):
|
||
|
To run menuconfig (from LEDE):
|
||
|
|
||
|
make T=rspro menuconfig
|
||
|
|
||
|
After that, the new config file will be applied to destination target and also it will by copied inside build/configs directory
|
||
|
|
||
|
---------------------------------------------------------------------------------
|
||
|
To run kernel menuconfig (from openwrt), in this case config file will be not copied because it is not directly compatible with configs/target/kernel_config:
|
||
|
To run kernel menuconfig (from LEDE), in this case config file will be not copied because it is not directly compatible with configs/target/kernel_config:
|
||
|
|
||
|
make T=rspro kernel_menuconfig
|
||
|
|
||
| ... | ... | |
|
|
||
|
- build/configs: if you do some change in config file using "menuconfig" option, the new config is placed here (and also in destination target)
|
||
|
|
||
|
- dl: download folder for OpenWRT packages
|
||
|
- dl: download folder for LEDE/OpenWrt packages
|
||
|
|
||
|
- configs: config files for each kind of hardware. These are the default ones provided by qmpfw
|
||
|
|
||
També disponible a: Unified diff
Base qMp firmware builder on LEDE. Also fix a few targets and configs that got outdated.