38 Commits

Author SHA1 Message Date
SupervisedThinking
2df69c0d23 config/show_config: minor clean up
- get rid of leading whitespace
- according to https://ccache.dev/ it's "Ccache"
2022-12-08 12:13:07 +01:00
Matthias Reichl
6956b5f605 config/show_config: add local ccache info
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-12-04 16:01:56 +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
Rudi Heitbaum
ce20584ae8 config/show_config: do not display provider when provider is no
was:
 - OpenGL (GLX) support (provider):      no (no)
 - OpenGL ES support (provider):         yes (mesa)
 - Vulkan API support (provider):        no (no)

is:
 - OpenGL (GLX) support (provider):      no
 - OpenGL ES support (provider):         yes (mesa)
 - Vulkan API support (provider):        no
2022-08-27 00:45:44 +00:00
SupervisedThinking
99e260c909 config/show_config: ident cflags/ldflags 2022-05-27 01:19:21 +02:00
SupervisedThinking
3bec9f616f config/show_config: added Vulkan opts 2022-01-01 14:26:52 +01:00
heitbaum
f6e648aad8 ntfs-3g_ntfsprogs: drop package 2021-12-08 21:49:50 +00:00
SupervisedThinking
4ef5569205 config/graphics & show_config: clean up & tweaks
- clean up
- tweaks for show_config
- default to `OPENGL/OPENGLES=no` if not set
- sort `GRAPHIC_DRIVERS` & list them for all projects not just x11
- moved video acceleration out of graphic config
2021-11-29 17:49:16 +01:00
Ian Leonard
7e67a70da0 show_config: remove a subshell
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-10-17 21:59:35 +00:00
CvH
507492c930
Merge pull request #5435 from antonlacon/le11-arch-options
buildsystem: change when config/arch.$ARCH is sourced
2021-10-03 08:02:45 +02:00
Ian Leonard
9bc5b38884 show_config: add information on TARGET_KERNEL_ARCH
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-21 00:13:21 +00:00
Ian Leonard
0bb989879e show_config: not all devices will have TARGET_FPU set
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-06-21 00:13:21 +00:00
Ian Leonard
ae65d1dd39 tools/viewconfig: initial commit
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2021-05-28 03:06:17 +00:00
Ian Leonard
8d04ffe5da exfat-fuse: remove package to make way for mainline driver
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-11-11 17:25:23 +00:00
Ian Leonard
4c95a9f1b0 show_config: show global compiler / linker flags used in build
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
44cb449b38 show_config: add DISTRO/show_config as function source and use it
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
f7ed0e72f2 config/show_config: allow direct execution
FUNCNAME[0] is a bash builtin that corresponds to the name of the currently executing
function. Functions called in bare scripts are in the main() function. Bare scripts
being sourced are in the source() function.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
0ea91f8079 config/show_config: reorder output
Order is roughly:

How is the buildsystem for the image set up
What hardware support is being added
What filesystems will be supported
What Network services are available
Who is providing the graphics and their setup
How does it boot / login
Distribution configuration

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
e9862ccd6c show_config: move more of show_config kodi specific to distro version
Split Kodi configuration messages into hardware / software sections. Hardware is how
other software is being built to accomodate Kodi needs (ie what provides video accel).
Software is the configure options to Kodi.

Kodi version just outputs the velue of $MEDIACENTER, which will always be "kodi".
Change to who the "upstream" is for the version of Kodi we're using is instead.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
9a426d5da9 config/show_config: migrate kodi config to distro specific config/functions file
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
Ian Leonard
40f5477524 show_config: use increment operator
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-06-03 18:10:45 +00:00
chewitt
ce832746f3 config: add support for optionally building WireGuard 2020-01-24 02:47:50 +00:00
Christian Hewitt
4ff3ef1dcf
Merge pull request #3534 from MilhouseVH/le10_drop_amremote_atvclient
amremote/atvclient: cleanup
2019-06-13 16:45:50 +04:00
MilhouseVH
24dbf72842 atvclient: used by macmini hw, should be other support in kernel now 2019-05-25 12:32:23 +01:00
Matthias Reichl
9e9657981a drop UVESAFB_SUPPORT option
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-05-24 16:22:48 +02:00
Matthias Reichl
317667558c drop INITRAMFS_MODULES option
Signed-off-by: Matthias Reichl <hias@horus.com>
2019-05-24 16:22:48 +02:00
Jernej Skrabec
e2e3c37896 Drop UBOOT_CONFIGFILE, it's never used 2019-05-15 19:02:56 +02:00
Jernej Skrabec
dd41eed8b9 Drop UBOOT_CONFIG, it's never used 2019-05-15 18:59:53 +02:00
Ian Leonard
2162e3efe6 config/show_config: only show kodi info when MEDIACENTER=kodi
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2018-10-25 20:15:24 +00:00
MilhouseVH
b1e543c13a kodi: drop ENABLE_SSH after xbmc/12005 2018-08-18 10:01:03 +01:00
Matthias Reichl
25f254890f Revert "dash: add package, configure as CONFIG_SHELL"
This reverts commit 3b5986704e002602cf72c9e34206d2938dcc0a0b.

The config shell is set as an interpreter in libtool scripts
and as Linux has a hard limit of 127 bytes on the first line
in scripts (including the hashbang) this causes the build to
fail with a "bad interpreter" error if the path to the config
shell exceeds this limit.

These errors were first noticed on jenkins builds but can be
easily reproduced by building LibreELEC in a longer build dir.

eg RPi2 clean build failing on libtool invocation in kmod build:

./doltlibtool: /home/hias/rpi/libreelec-testing-with-a-long-directory-path-as-on-jenkins/build.LibreELEC-RPi2.arm-9.0-devel/kmod-24/.x86_64-linux-gnu/libtool: /home/hias/rpi/libreelec-testing-with-a-long-directory-path-as-on-jenkins/build.LibreELEC-RPi2.arm-9.0-devel/toolchain/bin/d: bad interpreter: No such file or directory

Signed-off-by: Matthias Reichl <hias@horus.com>
2018-06-30 12:31:22 +02:00
MilhouseVH
3b5986704e dash: add package, configure as CONFIG_SHELL 2018-06-17 18:17:42 +01: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
MilhouseVH
19e70ddf30 config/show_config: add DEBUG config 2018-02-19 07:08:48 +00:00
Adam Green
ad9e7560c8
buildsystem: add support for building extra packages specified in
project or device options

this has been added at the end of the virtual debug package as
this is the last point in the build system that any packages are
compiled before images are created
2018-01-06 01:49:09 +00:00
MilhouseVH
219a08aade kodi: remove obsolete options 2018-01-01 14:32:24 +00:00
MilhouseVH
8af15ed22a config/show_config: move to separate file 2017-12-17 19:12:59 +00:00