fundamental: move several macros and functions into src/fundamental/
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 3 Feb 2021 18:21:08 +0000 (03:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Feb 2021 05:22:54 +0000 (14:22 +0900)
commite5bc5f1f5ac3595bfbe77d4896d6b7b22a0310a8
treeebf3a88d73ad0a49008c9a441a58ad387702e900
parent5f33b2300b1ce7749a686dd1699ea0818b45857c
fundamental: move several macros and functions into src/fundamental/

sd-boot has a copy of a subset of codes from libbasic. This makes
sd-boot share the code with libbasic, and dedup the code.

Note, startswith_no_case() is dropped from sd-boot, as
- it is not used,
- the previous implementation is not correct,
- gnu-efi does not have StrniCmp() or so.
19 files changed:
meson.build
src/basic/alloc-util.h
src/basic/macro.h
src/basic/meson.build
src/basic/string-util.c
src/basic/string-util.h
src/boot/efi/boot.c
src/boot/efi/loader-features.h [deleted file]
src/boot/efi/meson.build
src/boot/efi/util.c
src/boot/efi/util.h
src/fundamental/efi-loader-features.h [new file with mode: 0644]
src/fundamental/macro-fundamental.h [new file with mode: 0644]
src/fundamental/meson.build [new file with mode: 0644]
src/fundamental/string-util-fundamental.c [new file with mode: 0644]
src/fundamental/string-util-fundamental.h [new file with mode: 0644]
src/fundamental/type.h [new file with mode: 0644]
src/shared/efi-loader-features.h [deleted symlink]
src/shared/meson.build