Adding a new package
From PdaXrom embedded
Cross tools variables
| variable | description |
|---|---|
| DEFAULT_CPU | default cpu arch |
| DEFAULT_FPU | default fpu arch (for arm only yet) |
Variables
| variable | description |
|---|---|
| MAKEARGS | by default is -j4 |
| TOP_DIR | build system root directory |
| SRC_DIR | local sources mirror directory |
| RULES_DIR | build rules directory |
| BUILD_DIR | unpacket sources root directory |
| HOST_BUILD_DIR | unpacked host sources root directory |
| PATCH_DIR | patches directory |
| STATE_DIR | package build status directory |
| ROOTFS_DIR | target rootfs directory |
| GENERICFS_DIR | addon target files |
| CONFIG_DIR | directory if source configurations |
| HOST_BIN_DIR | host support binaries root directory |
| TARGET_BIN_DIR | target binary sdk root directory |
| TARGET_INC | target sdk includes |
| TARGET_LIB | target sdk libraries |
Core functions
| function | description |
|---|---|
| download <source url | download source |
| download_svn <svn url> <svn repo> | download svn sources |
| download_git <git url> <git repo> | download git sources |
| extract <source archive> | extract target source |
| extract_host <source archive> | extract host source |
| apply_patches <source patch> <archive for patch> | |
| install_rc_start <init script name> <start level> | |
| install_rc_stop <init script name> <stop level> | |
| install_sysroot_files | install target sdk files |
| banner <banner string> | show banner |

