Commit Graph

134 Commits

Author SHA1 Message Date
Andre Heider
8e4663912a build: move install dirs out of the build dir
Instead of cluttering $BUILD we now have
- $BUILD/build         sources and builds of packages
- $BUILD/install_pkg   installed packages
- $BUILD/install_init  installed packages for initramfs
2019-12-31 11:26:49 +01: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
Andre Heider
d31c44664c build: clean usr/local/ on packages too
Some packages use configure_target() but don't set the /usr prefix.
2019-12-31 11:26:49 +01:00
Andre Heider
912a91619b build: don't wipe devel files from packages, just don't install them
With the upcoming usage of the standard install_pkg folder for addon
dependencies, the devel files need to be accessible, e.g. ffmpegx for
tvheadend.

So don't wipe them from the package install folder, just skip copying
them to the image.
2019-12-31 11:26:49 +01:00
Andre Heider
267d57d7f3 build: add and use PKG_INSTALL
Set it depending on the target, so there's no need to hardcode
$PKG_BUILD/.install_[pkg|init] in multiple places.
2019-12-31 11:26:49 +01:00
MilhouseVH
a41d4f1e6b buildsystem: fix Python native modules that are using build host ABI (PEP3149) 2019-10-29 12:19:07 +00:00
Sascha Kuehndel (InuSasha)
2d78194f84 fix strip with new meson 2019-09-19 11:18:33 +02:00
Sascha Kuehndel (InuSasha)
266f0932c8 buildsystem: swap setup_toolchain parameter 2019-09-19 11:14:43 +02:00
Sascha Kuehndel (InuSasha)
73eef7432f buildsystem: convert to support mesonbuild >= 0.51.0
- meson needs a host environment for cross-compile
- allow setup_toolchain to setup toolchain based on used build-system
- adjust creation of meson.conf
2019-09-19 11:14:43 +02:00
MilhouseVH
622c11872d buildsystem: fix /usr targets 2019-07-04 20:18:03 +01:00
MilhouseVH
7ccb58b507 buildsystem: don't dereference LINK_NAME when fixing up sym links 2019-07-03 23:18:28 +01:00
MilhouseVH
3facec5d91 buildsystem: unpack should recursively unpack, not build 2019-06-29 11:06:42 +01:00
MilhouseVH
f9a2623d06 buildsystem: build/unpack - simplify some logic 2019-06-17 01:48:38 +01:00
MilhouseVH
90be11322a buildsystem: consistently use braces 2019-06-16 03:35:56 +01:00
MilhouseVH
2e3a2dab67 buildsystem: cleanup - PACKAGE_NAME is redundant 2019-06-16 02:59:20 +01:00
MilhouseVH
1d81d22225 buildsystem: add pre_configure() function that is not target specific 2019-05-26 19:17:08 +01:00
kszaq
834e11c9d0 scripts/build: strip all executables in /usr
Some packages install outside /usr/*bin, e.g. /usr/lib/bluetooth
and executables remain unstripped. Try to strip everything
executable except .ko and .so which are handled in separate cases.
2019-05-13 23:20:09 +02:00
Jonas Karlman
60fc0b29ed u-boot: use PKG_STAMP to trigger rebuild 2019-04-01 20:58:13 +00:00
MilhouseVH
eff50203e1 scripts/build: clobber existing files 2019-03-09 22:02:33 +00:00
MilhouseVH
7c327b2d56 scripts/build: fix broken sym links due to isolated sysroot 2019-02-28 06:19:13 +00:00
MilhouseVH
83922eef4f scripts/build: add TODO 2019-02-22 20:12:20 +00:00
MilhouseVH
527ea323b8 scripts/build: a shared sysroot is not thread-safe 2019-02-22 20:11:23 +00:00
MilhouseVH
d71fbfaec7 scripts/build: cosmetic 2019-02-13 15:10:54 +00:00
MilhouseVH
9f1ea7d175 PKG_DEPENDS_UNPACK: solution for packages using source code of another 2019-02-08 17:17:43 +00:00
MilhouseVH
d0034ab95e scripts/build: use global lock as sed -i $SYSROOT_PREFIX/usr/lib/*.la is racy 2019-02-08 17:17:43 +00:00