Creating a Simple Build Project in LinuxLink Classic
Use the build wizard to create a new simple build project.
Starting the Wizard
- Log in to LinuxLink and select the Builder button.
- Select the project group in which you want to create the project, then choose
Add New Project from the right-hand side of the page.
- Select A simple project that uses the build system compiler (x86)
to build an existing source package, then click on Continue.
Specifying Project Information
On the first page of the wizard, you will be asked to specify some information about the project itself.
Name
In the Name field, provide a human-readable, descriptive name for the
project. This name will appear in the LinuxLink UI, so enter an easy-to-read
and understandable name.
SafeName
Once you have entered a name for the project, the wizard will suggest a SafeName
based on the project name. The SafeName is used when the LinuxLink Builder needs
to create a project-specific file name or directory as part of the build.
Repository
This is the URL of a WebDAV-enabled source code repository. When the wizard
is finished collecting information about the project, it will create a new directory
in this location, and then upload project build files to that directory.
Description
Here you can provide a more detailed human-readable description of the project.
Feel free to go wild here – enter whatever text you feel is an appropriate
description of your project.
Click on Next to specify the project's source files.
Specifying Project Source Files
This page allows you to enter one or more URLs that specify the location of the source code of the package you want to cross-compile.
Source URLs
You can click on the source files directory in the Repository if you are not
sure what the URL is.
When you start a build, the build system will pre-fetch the project source files you specify here. These files will be downloaded to a build-specific directory on the build server.
Click on Next to specify the project's build commands.
Specifying Project Build Commands
Command Type
This field allows you to select a generic set of build instructions. Select
an option to update the Build Commands text to reflect the appropriate
set of build commands for a particular project type.
Note
If you make changes to the Build Commands text, changing the Command Type will result in your changes being discarded in favor of the default commands for that type.
Build Commands
In this field, edit the commands required to build your project, one per line.
Commands cannot span multiple lines. When the build system arrives at the point
where it needs to build the source for the project, it executes each of these
commands in order. Each command is executed as part of a bash shell script,
so each line should be a distinct and valid bash command.
Click on Next to review the project's build files.
Create Project Files
The wizard will generate two build files when creating your new project:
- build.ini
This is the primary file referenced by the build system. It identifies the source files used as part of the build and the location of the script that drives the build process. - build.sh
This is the file responsible for performing the build. The generated build script unpacks the source files (if needed), moves them into the build area on the build server, and then executes the build commands you provided.
Click on Add Project to create your new project. A page appears allowing you to start a build.