]> xenbits.xensource.com Git - unikraft/libs/libgo.git/commitdiff
Config.uk: Imply LIBUKMMAP / LIBPOSIX_MMAP
authorRazvan Deaconescu <razvand@unikraft.io>
Fri, 25 Aug 2023 15:39:49 +0000 (18:39 +0300)
committerUnikraft <monkey@unikraft.io>
Tue, 29 Aug 2023 10:16:52 +0000 (10:16 +0000)
Change `select LIBUKMMAP` to `imply LIBUKMMAP`. Do the same for `select
LIBPOSIX_MMAP`. This is because each may not be required for Go builds
(and use the other one instead).

With `select` in place you cannot disable the selection, resulting in a
dependency erorr when enabling the other one.

With `imply` as a soft select, any one can be disabled, removing the
dependency error.

Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Approved-by: Marc Rittinghaus <marc.rittinghaus@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #8

Config.uk

index c10bde3fca8f847a02034f932cc1c75cf065e560..444f5482d4b405e6004a28068c2a60d8457381a6 100644 (file)
--- a/Config.uk
+++ b/Config.uk
@@ -6,8 +6,8 @@ menuconfig LIBGO
        select LIBPOSIX_EVENT
        select LIBUKSIGNAL
        select PAGING
-       select LIBUKVMEM
-       select LIBPOSIX_MMAP
+       imply LIBUKVMEM
+       imply LIBPOSIX_MMAP
        select LIBCOMPILER_RT
        select LIBUNWIND
        select LIBLWIP