Matthias Reichl
f1977c91aa
Merge pull request #2785 from MilhouseVH/le90_dash_config_shell
...
dash: add package, configure as default CONFIG_SHELL [RFC]
2018-06-27 07:38:50 +02:00
MilhouseVH
5f91f0cf49
debug: dependencies don't build with debug by default. use + suffix to enable
2018-06-26 22:30:49 +01:00
Matthias Reichl
13c7a4a2ca
Merge pull request #2761 from Kwiboo/linaro-toolchain
...
linux: use linaro toolchain when KERNEL_LINARO_TOOLCHAIN is set
2018-06-18 10:10:03 +02:00
CvH
dd4eaa1487
Merge pull request #2776 from MilhouseVH/linux4170
...
linux (Generic): update to linux-4.17.2
2018-06-17 21:53:12 +02:00
MilhouseVH
3b5986704e
dash: add package, configure as CONFIG_SHELL
2018-06-17 18:17:42 +01:00
Matthias Reichl
423242fda6
config_functions: add kernel_make
...
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-16 18:28:21 +01:00
Jonas Karlman
f28faae236
linux: use linaro toolchain when KERNEL_LINARO_TOOLCHAIN is set
2018-06-14 07:42:40 +02:00
MilhouseVH
700b54c13a
Merge pull request #2748 from antonlacon/hashstyle
...
build: only use gnu-style hash table in binaries
2018-06-14 01:41:49 +01:00
MilhouseVH
e6d3d74a7b
Merge pull request #2766 from lrusak/v4l2
...
some v4l2 and libdrm updates
2018-06-13 00:34:21 +01:00
awiouy
bd7ab2657f
debug_strip: use PKG_BUILD_FLAGS
2018-06-12 19:48:41 +02:00
Lukas Rusak
487df8b8b0
config/graphic: add support for etnaviv
2018-06-11 10:18:51 -07:00
Lukas Rusak
bc6edc4fed
config/graphic: add support for freedreno
2018-06-11 10:18:51 -07:00
Lukas Rusak
42b160894f
config/graphic: add V4L2_SUPPORT for vc4
2018-06-11 10:18:51 -07:00
Lukas Rusak
8c24c78231
config/graphic: add default value for V4L2_SUPPORT
2018-06-11 10:18:50 -07:00
Ian Leonard
c7952a9539
build: set hash-style to gnu via gcc default
...
Builds use a mix of styles for the hash table in the ELF header. Only
one style of table is necessary, and the GNU one is more performant
for lookups. Eliminating the SysV style hash table trims ~450kb. This
is done via setting the default linker in gcc instead of LDFLAGS as
some packages ignore LDFLAGS.
Note that if MIPS is ever added as a supported architecture, it
does not support hash-style=gnu at this time.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-06-09 21:17:31 +00:00
Lukas Rusak
926ad175ca
config/functions: add llvm-config to meson cross file
2018-06-05 10:26:25 -07:00
Sascha Kuehndel (InuSasha)
ca54a7f1a9
WC/WP: use older linaro compiler for WeTek_Core/Play
...
- linux-3.10 are not able to build with gcc-8.1
2018-06-04 20:17:29 +02:00
Sascha Kuehndel (InuSasha)
58d7972dad
buildsystem: add -mtune to CFLAGS, to be in sync with LDFLAGS. Else segfault is triggered in lto build
2018-06-04 20:07:06 +02:00
Matthias Reichl
fc6144ba37
config/functions: support lto-parallel, lto-fat and lto-off build flags
...
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-04 19:54:29 +02:00
Matthias Reichl
b03cb4cc2f
config/optimize, config/functions: refactor lto flags
...
Split up the LTO flags in config/optimize and assemble
full C/CXX/LDFLAGS in config/functions.
Add flags for parallel/single-threaded lto and fat/non-fat
lto object creation.
Change the default lto build flag to use non-fat lto objects.
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-04 19:54:29 +02:00
Matthias Reichl
57832185cc
config/functions: use gcc-ar/gcc-nm/gcc-ranlib when LTO is enabled
...
This is needed to properly create static libs with LTO objects.
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-04 19:54:29 +02:00
Matthias Reichl
7608095b4e
config/functions: don't enable LTO by default
...
Packages are only built with LTO if it's explicitly enabled via
the lto build flag or if a package enables LTO via configure / cmake
options.
Enabling LTO via configure / cmake is the preferred way as this
gives packages more fine grained control, eg enable parallel LTO
linking etc. When doing this packages should respect the
LTO_SUPPORT setting so LTO can be disabled globally.
To avoid conflicting C/CXX/LDFLAGS no FLAGS are added when the
lto build flag is not set.
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-04 19:54:28 +02:00
CvH
fe1d278963
Merge pull request #2689 from MilhouseVH/le90_init_sky42_patches
...
init: add sky42 enhancements/bug fixes
2018-05-23 02:27:33 +02:00
MilhouseVH
1626fdb8df
Merge pull request #2711 from lrusak/graphics-default
...
config/graphic: reset variables when calling get_graphicsdrivers()
2018-05-21 17:28:51 +01:00
Lukas Rusak
e23f0cb5f2
config/graphic: remove duplicate entries in XORG_DRIVERS variable
2018-05-20 21:15:42 -07:00
Lukas Rusak
32a7930b9a
config/graphic: optimize get_graphicsdrivers by removing for loop
2018-05-20 20:11:55 -07:00
Lukas Rusak
b93b40f092
config/graphic: remove leading comma in variables
2018-05-20 20:10:27 -07:00
Lukas Rusak
8c2e5a898d
config/graphic: reset variables when calling get_graphicsdrivers()
2018-05-20 20:09:48 -07:00
MilhouseVH
d8d723d7c2
init: drop BOOT_IMAGE from RPi/RPi2/Rockchip; fix img upgrades
2018-05-15 22:14:42 +01:00
Sascha Kuehndel (InuSasha)
b7b1a67723
place options at a more consistent place
2018-05-07 21:55:07 +02:00
Sascha Kuehndel (InuSasha)
9c03f42b43
buildsystem: use no-lto, when lto is disabled
...
else gcc/binultis can enable automaticly
2018-05-07 19:34:37 +02:00
Matthias Reichl
fcf1ea5d78
config/options: remove unused variable DEVTOOLS
...
Signed-off-by: Matthias Reichl <hias@horus.com>
2018-04-27 09:57:32 +02:00
CvH
20f9867e03
Merge pull request #2630 from MilhouseVH/le90_buildsystem_cleanups
...
buildsystem: cleanups, use sha256sum for stamp function
2018-04-02 12:03:24 +02:00
CvH
a4352b5379
Merge pull request #2620 from MilhouseVH/le90_meson_here_doc
...
config/functions: use Here doc for create_meson_conf
2018-04-02 11:41:44 +02:00
MilhouseVH
eefa6ebee4
buildsystem: use single = for consistency
2018-04-02 10:09:11 +01:00
MilhouseVH
7628290170
buildsystem: add a function to calculate stamps, switch from md5 to sha256
2018-04-02 10:09:11 +01:00
Matthias Reichl
745c15f209
config/path: don't copy .git and .svn dirs when using file:///SOMEDIR
...
packages can override that by setting PKG_TAR_COPY_OPTS. If this
is set to an empty value everything will be copied.
2018-04-02 06:43:04 +01:00
Tomas Kelemen (vudiq)
5d27b9f36e
scripts/get_git: add handler for git
2018-04-02 06:43:04 +01:00
MilhouseVH
d246e986d2
scripts/get_file: add file:// support - exists only for logging
2018-04-02 06:43:04 +01:00
MilhouseVH
3d1713527c
scripts/get: support get handlers, starting with get_archive
2018-04-02 06:43:04 +01:00
MilhouseVH
994d120bab
config/functions: use Here doc for create_meson_conf
2018-03-27 22:51:39 +01:00
MilhouseVH
7cbfd38b8d
Merge pull request #2607 from InuSasha/update/meson
...
meson: update to 0.45
2018-03-27 22:49:05 +01:00
MilhouseVH
7c4674adab
Merge pull request #2403 from lrusak/vaapi2
...
allow using vaapi with r600 and radeonsi
2018-03-22 16:07:08 +00:00
Sascha Kuehndel (InuSasha)
d38cadaf8c
meson: update to 0.45
...
- generate cross-file per package, needed since https://github.com/mesonbuild/meson/pull/1807 to use changed build-flags
2018-03-21 17:10:10 +01:00
Lukas Rusak
46021e1122
config/graphic: add VAAPI_SUPPORT to r600 and radeonsi
2018-03-20 11:58:34 -07:00
MilhouseVH
4d0336e729
buildsystem: simd support (neon/mmx/sse/sse2) is a feature of CPU not project
2018-03-12 22:16:38 +00:00
Sascha Kuehndel (InuSasha)
8aef8f3371
build: remove unnessary exports
2018-03-08 10:16:13 +01:00
Sascha Kuehndel (InuSasha)
8827a540aa
buildsystem: add BUILD_FLAG support
...
- replace strip_lto/strip_gold (only allowed to disable)
- add flag for PIC feature
- add flag to stop build parallel
- add support for hardening option (initial copy from debian 9)
All build parameters, are added in setup_toolchain.
`PKG_[FLAG]_[HOST/TARGET]_ENABLED` variable is introduced for checking the flag (yes/no) in the package.mk
Thanks to @MilhouseVH, for support and fixing
2018-03-07 18:35:01 +01:00
Radostan Riedel
c555d2facb
Fix wrong Strip with 64/32 in linux driver addons
2018-03-05 13:28:41 +01:00
Jonas Karlman
dff565f4e0
config/arch.arm: add cortex-a72.cortex-a53
2018-03-04 20:26:55 +01:00