kumquat-buildroot/package/Config.in.host

123 lines
5.0 KiB
Plaintext
Raw Normal View History

menu "Host utilities"
source "package/abootimg/Config.in.host"
source "package/aespipe/Config.in.host"
source "package/agent-proxy/Config.in.host"
source "package/android-tools/Config.in.host"
source "package/asn1c/Config.in.host"
package/babeltrace2: new package Babeltrace 2 is a trace manipulation toolkit. The Babeltrace 2 project offers a library with a C API, Python 3 bindings, and a command-line tool which makes it very easy for mere mortals to view, convert, transform, and analyze traces. See <https://babeltrace.org/> for more details. Babeltrace 2 is a major update of Babeltrace 1 (Buildroot package `lttng-babeltrace`). Both projects are coinstallable. Except for the command-line tool (named `babeltrace2`), the Babeltrace 2 project is not backward compatible with Babeltrace 1. I'm naming this package `babeltrace2` instead of `lttng-babeltrace2` because, although it can read LTTng traces, the two projects are independent. All major distributions use `babeltrace2` as the Babeltrace 2 package's name. I'm keeping the `lttng-babeltrace` package because, as of this date, we still add bug and security fixes from time to time, therefore the project is not in EOL stage. Some external, custom packages could still depend on the Babeltrace 1 library, for example. As with `lttng-babeltrace`, you can build and install the host version of Babeltrace 2 for the workflow where you trace the target, download the resulting trace (or receive it during the tracing process), and then read and analyze it with Babeltrace 2. If you enable the `elfutils` package (`BR2_PACKAGE_ELFUTILS`), then support for Babeltrace 2's debugging information filter component class is enabled. Tested with glibc, uClibc-ng, and musl. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-23 22:01:53 +02:00
source "package/babeltrace2/Config.in.host"
source "package/bmap-tools/Config.in.host"
source "package/bootgen/Config.in.host"
source "package/btrfs-progs/Config.in.host"
source "package/cbootimage/Config.in.host"
source "package/checkpolicy/Config.in.host"
source "package/checksec/Config.in.host"
source "package/cmake/Config.in.host"
source "package/composer/Config.in.host"
source "package/cramfs/Config.in.host"
source "package/crudini/Config.in.host"
source "package/cryptsetup/Config.in.host"
source "package/dbus-python/Config.in.host"
source "package/delve/Config.in.host"
package/depot-tools: new package Chromium and Chromium OS use a package of scripts called depot_tools to manage checkouts and code reviews. This package also includes the gclient utility. gclient is a Python script to manage a workspace of modular dependencies that are each checked out independently from different subversion or git repositories. Features include: - Dependencies can be specified on a per-OS basis. - Dependencies can be specified relative to their parent dependency. - Variables can be used to abstract concepts. - Hooks can be specified to be run after a checkout. - .gclient and DEPS are Python scripts. You can hack in easily or add additional configuration data. .gclient file: It's the primary file. It is, in fact, a Python script. It specifies the following variables: - solutions: an array of dictionaries specifying the projects that will be fetched. - hooks: additional hooks to be run when this meta checkout is synced. - target_os: an optional array of (target) operating systems to fetch OS-specific dependencies for. - cache_dir: Primarily for bots, multiple working sets use a single git cache. gclient is necessary for checking out the flutter-engine source code, as the release tarballs provided on the flutter-engine github are in no state to compile. Google expects the use of gclient to download a source directory structure suitable to build the Flutter engine. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-09-19 22:42:47 +02:00
source "package/depot-tools/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/dfu-util/Config.in.host"
source "package/dos2unix/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/dosfstools/Config.in.host"
source "package/doxygen/Config.in.host"
package/dracut: new host package Dracut is the tool used by desktop distributions to build initrds. In the embedded world, it can be very useful, too, for instance when wanting to create an initramfs for a system recovery mode. Whereas it is definitively possible to achieve this with buildroot, the process is to have a dedicated buildroot configuration for that, and perform a full build. Instead of doing that, dracut can pick the needed binaries/shared libraries, configuration files, or kernel modules from the 'target' directory. The advantage is to save build time, and also to have a consistency between the packages versions taken for the recovery and the production filesystem. The principle of dracut is based on the so-called 'dracut modules'. The modules determine what will be included in the initramfs. For example, one of dracut's modules checks the kernel modules that are included and also includes the corresponding firmware blobs. On the host, they are on host/lib/dracut/modules.d Each directory as a prefix number for the order of execution, and at least a "module-setup.sh" script. Dracut sources all of them, and typically calls the "check()" function, which is the placeholder for required binaries (that are aimed to be polulated in the initrd), then the "depends()" function, that lists other modules to depend on, and the "install()" function, that makes the actual work. Dracut was initially thought to work with systems using systemd, but it can also work without it. Do to so, every "systemd-xxx" module must be disabled in the dracut configuration file. For convenience, the 05busybox-init module is provided, to support busybox init system. Note that this module should *not* be enabled when using systemd init. It is therefore only installed if busybox init is selected. Musl and uClibc make assumptions about the existence of some symlinks that are not discoverable with readelf. Therefore, another module 05libc-links is provided that creates those links. The module is installed regardless of which libc is used - the script itself discovers if the links need to be installed based on which libc is found. Signed-off-by: Thierry Bultel <thierry.bultel@linatsea.fr> [arnout@mind.be: many changes] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Adam Duskett <aduskett@gmail.com> [yann.morin.1998@free.fr: some additional fixups] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-08-15 13:17:08 +02:00
source "package/dracut/Config.in.host"
source "package/dtc/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/e2fsprogs/Config.in.host"
source "package/e2tools/Config.in.host"
source "package/environment-setup/Config.in.host"
source "package/erofs-utils/Config.in.host"
package/eudev: introduce a host variant eudev and systemd provide a hardware database (hwdb) as a set of multiple files. Various other utilities may also use that database. Those files have to be "compiled" into a binary to be useful; libudev (and thus all utilities based on it) only use the compiled hwdb. Compiling the hwdb is done with udevadm, using the hwdb sub-command: udevadm hwdb --update Provide a simple host-variant of eudev, so that we can call udevadm at build time. When it is configured, eudev will shoehorn its --prefix path as the base location where the .hwdb file will be searched from, as well as where the hwdb.bin will be generated in. This means that with the usual --prefix=$(HOST_DIR), it would look into there. udevadm also accepts a --root=/path option at runtime, which prepends /path to all the paths it uses to find and generate files. Obviously, combining --root=$(TARGET_DIR) and --prefix=$(HOST_DIR) would not do what we want: all files would be searched for, and generated, in $(HOST_DIR)$(TARGET_DIR)/ . Avoiding use of --root would not help much either, as files would still searched in $(HOST_DIR) (we could use a trick to copy files there, generate and then move the hwdb.bin, but that's not nice). However, since we only need udevadm, and since udevadm has no internal and no external dependency, we can use a less dirty trick and configure host-eudev with --prefix=/usr (and similar for the other paths), manually copy udevadm to HOST_DIR, and then use --root when calling it. Then, we get a udevadm that can read files from, and generate files into $(TARGET_DIR). We register a target-finalize hook to generate the hwdb.bin, so that any pakage may install its .hwdb files (currently only eudev and systemd do, but other packages might (e.g. sane is known to do so on standard desktop distros)) The *.hwdb source files consume a lot of space, roughly the same as the generated database, i.e. ~8MiB as of today, and they are totally useless on the target; only the generated hwdb.bin is useful. So we want to get rid of them. However, we also want to be able to complete a build (e.g. make foo-reinstall to reinstall more hwdb files), so we don't want to irremediably lose them. As such, we register a pre-rootfs-cmd hook, that removes them just before assembling the filesystems, when we're only using a copy of the target directory. Note that this is the first host package to register a target-finalize hook, and also the first to register a pre-rootfs-cmd hook. This avoids duplicating these hooks logic in both eudev and systemd. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Carlos Santos <unixmania@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-10-29 23:07:53 +01:00
source "package/eudev/Config.in.host"
source "package/exfatprogs/Config.in.host"
source "package/f2fs-tools/Config.in.host"
source "package/faketime/Config.in.host"
source "package/fatcat/Config.in.host"
source "package/firmware-utils/Config.in.host"
source "package/flutter-sdk-bin/Config.in.host"
source "package/fwup/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/genext2fs/Config.in.host"
source "package/genimage/Config.in.host"
source "package/genpart/Config.in.host"
source "package/gnupg/Config.in.host"
source "package/go/Config.in.host"
source "package/go-bootstrap-stage1/Config.in.host"
source "package/go-bootstrap-stage2/Config.in.host"
source "package/google-breakpad/Config.in.host"
source "package/gptfdisk/Config.in.host"
source "package/imagemagick/Config.in.host"
source "package/imx-mkimage/Config.in.host"
source "package/imx-usb-loader/Config.in.host"
source "package/jh71xx-tools/Config.in.host"
source "package/jq/Config.in.host"
source "package/jsmin/Config.in.host"
source "package/kmod/Config.in.host"
source "package/libp11/Config.in.host"
source "package/llvm-project/lld/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/lpc3250loader/Config.in.host"
source "package/lttng-babeltrace/Config.in.host"
source "package/lzma-alone/Config.in.host"
source "package/mender-artifact/Config.in.host"
source "package/meson-tools/Config.in.host"
source "package/mfgtools/Config.in.host"
source "package/microchip-hss-payload-generator/Config.in.host"
source "package/mkpasswd/Config.in.host"
source "package/moby-buildkit/Config.in.host"
package/mosquitto: add host variant mosquitto can be configured to use password files. Those have a very trivial layout, with one "username:password" tuple per line, not unlike Apache's htpasswd file format, but unlike htpasswd files, the password can be either in clear (boo!), or encrypted (by calling into openssl's libcrypto). Encryption of passwords is done with an ad-hoc tool, mosquitto_passwd, again very like Apache's htpasswd, but the encrypted form is different (of course). This encryption is handled by mosquitto_passwd, which can create, update, or delete users, all while storing their encrypted password, or it can also convert a password file with clear-text passwords into a password file with encrypted passwords, e.g. it turns each "foo:bar" entry to their corresponding encrypted form, like "foo:$7$101$yLPgk5fn46d....==". It can be very interesting to maintain a clear-text DB of users:passwords in configuration management [0], and only convert it to encrypted passwords when embedded on the target. Add a host variant for mosquitto, which only installs mosquitto_passwd. [0] ensuring safety, confidentiality, and integrity of that DB is left as an exercise to the user, and is clearly out of scope for Buildroot, like storing the root password in the .config is. Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Titouan Christophe <titouanchristophe@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-10-07 14:40:43 +02:00
source "package/mosquitto/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/mtd/Config.in.host"
source "package/mtools/Config.in.host"
source "package/mxsldr/Config.in.host"
source "package/nodejs/Config.in.host"
source "package/odb/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/omap-u-boot-utils/Config.in.host"
source "package/openocd/Config.in.host"
source "package/opkg-utils/Config.in.host"
source "package/pahole/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/parted/Config.in.host"
source "package/patchelf/Config.in.host"
source "package/pigz/Config.in.host"
source "package/pkgconf/Config.in.host"
source "package/pru-software-support/Config.in.host"
source "package/pwgen/Config.in.host"
source "package/python-cython/Config.in.host"
source "package/python-greenlet/Config.in.host"
source "package/python-iniparse/Config.in.host"
source "package/python-kflash/Config.in.host"
source "package/python-lxml/Config.in.host"
source "package/python-pyyaml/Config.in.host"
source "package/python-six/Config.in.host"
source "package/python-xlrd/Config.in.host"
source "package/python3/Config.in.host"
source "package/qemu/Config.in.host"
source "package/qoriq-rcw/Config.in.host"
source "package/raspberrypi-usbboot/Config.in.host"
source "package/rauc/Config.in.host"
source "package/riscv-isa-sim/Config.in.host"
source "package/runc/Config.in.host"
source "package/rustc/Config.in.host"
source "package/s6-rc/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/sam-ba/Config.in.host"
source "package/sdbus-cpp/Config.in.host"
source "package/sdbusplus/Config.in.host"
source "package/sentry-cli/Config.in.host"
source "package/sloci-image/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/squashfs/Config.in.host"
source "package/sunxi-tools/Config.in.host"
source "package/swig/Config.in.host"
source "package/swugenerator/Config.in.host"
package/systemd: add host variant Add the infrastructure to build the host version of systemd * disable all optional features, they can be re-added when needed * systemd has creative way of dealing with cross compile we build a "normal" host systemd, but install it in $HOST_DIR we use systemctl --root to correctly act on TARGET_DIR * we need to adjust RPATH using patchelf because meson can't do it correctly by itsel The first question is: why do we use --prefix=/usr ? systemd will store its --prefix in all the executables it generates. As such, systemctl will have a hardcoded 'prefix', where it will manipulate and create files/symlinks in. When called natively, this is nice and shinny. However, for cross-setup, that does not work obviously. So, systemd has its tools know about the 'root' directory where this prefix should be related to. We can call systemctl --root=$(TARGET_DIR) and systemctl wil do the links and such in there. However, it does so by appending its known prefix to it. So, if we were to configure host-systemd as we usually do, with --prefix=$(HOST_DIR), then when we would call host systemctl --root=$(TARGET_DIR) it would look for files in $(TARGET_DIR)/$(HOST_DIR), which is wrong. Calling the host systemctl without --root is also wrong, as it would look for files in $(HOST_DIR) So, there is no satisfying official support for this case. The trick then, is to configure systemd with the prefix it would expect at runtime (on the target!), that is with /usr, but install out-of-tree. That was it for the first part of the question: why do we use --prefix. Now, the second question is: why do we need to muck up with the rpath after installation? Well, this boils down to meson (and not systemd itself). When it installs executables, meson will handily insert whatever rpath the package meson.build would tell it to use. systemd installs libs in $(prefix)/lib/systemd and has a NEEDED to those libs, so it uses an RPATH to find those libs, and meson does inject that RPATH into the installed executables. However, we Buildroot also want to insert our own RPATH, because systemd uses util-linux' libs and libcap, installed in $(HOST_DIR), so it needs our RPATH. However, meson can not extend the RPATH from the LDFLAGS in the environment; meson can only set the RPATH from what it knows about from the package's meson.build. That, in addition to the --prefix=/usr issue above, means that the executables installed by host-systemd have an RPATH set to /usr/lib/systemd. when we would want it to be set to $(HOST_DIR)/lib:$(HOST_DIR)/lib/systemd That's what is done in the post-install hook: set the RPATH to the appropriate values. Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr> [yann.morin.1998@free.fr: - reformatting in commit log - declare host variant after target variant - simplify comments - slight reordering of variable (HOST_SYSTEMD_NINJA_ENV moved) - reformatting for mutli-line variable (HOST_SYSTEMD_HOST_TOOLS) - don't split HOST_SYSTEMD_CONF_OPTS in two sets ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2019-12-16 11:30:40 +01:00
source "package/systemd/Config.in.host"
source "package/tegrarcm/Config.in.host"
source "package/ti-cgt-pru/Config.in.host"
infra: indent the Config.in source-ing of packages This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-08 23:35:43 +02:00
source "package/uboot-tools/Config.in.host"
source "package/util-linux/Config.in.host"
source "package/utp_com/Config.in.host"
source "package/uuu/Config.in.host"
source "package/vboot-utils/Config.in.host"
source "package/xorriso/Config.in.host"
source "package/zip/Config.in.host"
source "package/zstd/Config.in.host"
endmenu