]> xenbits.xensource.com Git - unikraft/libs/lua.git/commitdiff
Makefile.uk: Use mk_sub_libbuild_dir to create directory hierarchies RELEASE-0.14.0
authorRazvan Deaconescu <razvand@unikraft.io>
Fri, 11 Aug 2023 06:38:21 +0000 (09:38 +0300)
committerUnikraft <monkey@unikraft.io>
Fri, 11 Aug 2023 07:19:45 +0000 (07:19 +0000)
Unikraft core build system currently enforces the use of
`mk_sub_libbuild_dir` function instead of `mk_sub_build_dir` for
creating directory hierarchies, i.e. creating more than the first-level
subdirectory.

Update `Makefile.uk` accordingly: replace the call to `mk_sub_build_dir`
with a call to `mk_sub_libbuild_dir`.

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

Makefile.uk

index cae7e7f010ab25dd5abd429792dacacbf9b8c784..2a2da5cf07cb87dd1ad9319fbb150c1a7e598d5e 100644 (file)
@@ -24,7 +24,7 @@ LIBLUA_SRCS_BASE=$(LIBLUA_ORIGIN)/$(LIBLUA_TARBALL)/src
 ################################################################################
 # Put public headers of the library to a public folder and export them globally.
 # The prepare step below takes care of populating the folder.
-$(call mk_sub_build_dir,liblua/include)
+$(call mk_sub_libbuild_dir,liblua,include)
 CINCLUDES-$(CONFIG_LIBLUA)   += -I$(LIBLUA_BUILD)/include
 CXXINCLUDES-$(CONFIG_LIBLUA) += -I$(LIBLUA_BUILD)/include