26 Commits

Author SHA1 Message Date
Matthias Reichl
d022bc8c3a config/functions: add local-cc flag for building with local build-host cc
This is needed for host packages built in very early stages,
before host-cc (which typically uses ccache) is available.

Set CC/CXX to LOCAL_CC/CXX in this case.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-02 01:11:39 +01:00
SupervisedThinking
e485a16a8d build system: add support for mold & linker PKG_BUILD_FLAGS 2022-10-06 19:39:45 +02:00
Matthias Reichl
4bcc171bd2 buildsystem: support choosing default linker
Default linker can be set with DEFAULT_LINKER in options.

Packages can influence linker selection both by positive and/or
negative PKG_BUILD_FLAGS, eg +bfd or -gold.

Positive build flags take priority over the default linker so eg
DEFAULT_LINKER="gold" and PKG_BUILD_FLAGS="+bfd" will select bfd.

Negative flags mean a specific linker should not be used, eg -gold
prevents using gold.

If the default linker is disabled via a build flag then any other
available linker will be used.

Optional linkers like gold have to be enabled with eg GOLD_SUPPORT="yes"
in options. If an optional linker is not enabled it won't be a candidate
for linker selection. So eg "+mold" will have no effect if MOLD_SUPPORT
isn't set to "yes".

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-09-27 19:00:27 +02:00
Portisch
641caf3b52 scripts/extract: add option 'PKG_TAR_STRIP_COMPONENTS'
Some archive do not include a top level directory.
2021-05-28 08:33:36 +02:00
heitbaum
b41dd542e1
packages: update readme.md to current version of python 2021-01-01 02:14:25 +11:00
Andre Heider
682b57a80e packages: document requirements for autoremove 2020-02-10 08:53:39 +01:00
Andre Heider
64c73805fe build: add PKG_DEPENDS_CONFIG to set PKG_CONFIG_PATH for packages
To be used for "-sysroot" packages.
2020-02-10 08:53:39 +01:00
MilhouseVH
06e0928840
Merge pull request #3140 from InuSasha/features/build-root
buildsystem: add possibility to move the build paths outside the git …
2020-01-08 15:21:22 +00:00
Andre Heider
1dffafae2a build: add a "sysroot" build flag
Some addon dependencies do this locally on their own. With this, these
packages can now use the standard makeinstall() functions and access build
artifacts using get_install_dir() without polluting the sysroot folder.
2019-12-31 11:26:49 +01:00
MilhouseVH
6105f67998 post_install_addon: new package function 2019-11-17 20:50:31 +00:00
MilhouseVH
e5919f18a9 packages/readme.md: update python version 2019-10-29 12:19:07 +00:00
Ian Leonard
fa5a48f3c2 docs: add speed and size build flag to docs
Make proofing edits to the wording while there.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2019-09-16 17:58:32 -07:00
Sascha Kuehndel (InuSasha)
4bd4f58dbe
buildsystem: allow to set BUILD_ROOT via BUILD_DIR 2019-06-26 19:54:28 +02:00
MilhouseVH
1d81d22225 buildsystem: add pre_configure() function that is not target specific 2019-05-26 19:17:08 +01:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
MilhouseVH
88420e232b tools/pkgcheck: add "ignored depends assign" warning 2019-02-13 15:10:54 +00:00
MilhouseVH
b93923854d packages/readme.md: add reference to tools/pkgcheck 2018-12-30 07:42:29 +00:00
MilhouseVH
2fed4eba32 packages: readme.md - add late binding documentation; cleanup 2018-12-18 20:24:43 +00:00
Sascha Kuehndel (InuSasha)
832a03761e
docs: force full githashes 2018-08-18 12:24:01 +02:00
Sascha Kuehndel (InuSasha)
a5fd4a44aa
create_addon: do not include addons, embedded in image 2018-07-28 10:50:52 +02:00
CvH
18f3f67344 spdx: packages/readme 2018-07-18 22:37:48 +02:00
awiouy
bd7ab2657f debug_strip: use PKG_BUILD_FLAGS 2018-06-12 19:48:41 +02:00
Matthias Reichl
dfb65402fa documentation: document lto build flags
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-04 19:54:29 +02:00
Sascha Kuehndel (InuSasha)
9c868de0ec
documentation: more spelling fixes 2018-05-26 10:56:21 +02:00
Sascha Kuehndel (InuSasha)
d152261f09
documentation: spelling fixes from @chewitt & @MilhouseVH 2018-05-26 10:38:41 +02:00
Sascha Kuehndel (InuSasha)
f177baf48d
documentation: package.mk 2018-05-25 23:34:34 +02:00