Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
ef8bcd1b
Commit
ef8bcd1b
authored
17 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
document Build/InstallDev
SVN-Revision: 9993
parent
91e0a19d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/build.tex
+13
-0
13 additions, 0 deletions
docs/build.tex
with
13 additions
and
0 deletions
docs/build.tex
+
13
−
0
View file @
ef8bcd1b
...
...
@@ -342,6 +342,19 @@ directly as the Nth argument to \texttt{BuildPackage}.
Contains all environment variables that are passed to the make command
\end
{
itemize
}
\textbf
{
\texttt
{
Build
/
InstallDev
}
(
optional
)
:
}
\\
If your package provides a library that needs to be made available to other packages,
you can use the
\texttt
{
Build
/
InstallDev
}
template to copy it into the staging directory
which is used to collect all files that other packages might depend on at build time.
When it is called by the build system, two parameters are passed to it.
\texttt
{
\$
(
1
)
}
points to
the regular staging dir, typically
\texttt
{
staging
\_
dir
/
\textit
{
ARCH
}}
, while
\texttt
{
\$
(
2
)
}
points
to
\texttt
{
staging
\_
dir
/
host
}
. The host staging dir is only used for binaries, which are
to be executed or linked against on the host and its
\texttt
{
bin
/
}
subdirectory is included
in the
\texttt
{
PATH
}
which is passed down to the build system processes.
Please use
\texttt
{
\$
(
1
)
}
and
\texttt
{
\$
(
2
)
}
here instead of the build system variables
\texttt
{
\$
(
STAGING
\_
DIR
)
}
and
\texttt
{
\$
(
STAGING
\_
DIR
\_
HOST
)
}
, because the build system behavior
when staging libraries might change in the future to include automatic uninstallation.
\textbf
{
\texttt
{
Package
/
\textit
{
<name>
}
/
install
}
:
}
\\
A set of commands to copy files out of the compiled source and into the ipkg
which is represented by the
\texttt
{
\$
(
1
)
}
directory. Note that there are currently
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment