Displaying 3 results from an estimated 3 matches for "c99b962f".
2019 Feb 01
0
[klibc:master] Simplify build instructions
...ons in a subsection of README.klibc.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
Makefile | 8 ++++----
usr/klibc/README.klibc | 27 +++++++++++++++++----------
2 files changed, 21 insertions(+), 14 deletions(-)
diff --git a/Makefile b/Makefile
index 0df463a5..c99b962f 100644
--- a/Makefile
+++ b/Makefile
@@ -99,10 +99,10 @@ $(objtree)/.config: $(srctree)/defconfig
@false
$(KLIBCKERNELSRC)/include:
- @echo "Cannot find kernel UAPI headers."
- @echo "Either make a 'linux' symlink point to the usr subdirectory "
- @echo "of a k...
2020 Jul 25
0
[klibc:master] Kbuild: support clang's lld
...IG | 5 +++--
usr/klibc/arch/ppc/MCONFIG | 2 +-
usr/klibc/arch/ppc64/MCONFIG | 2 +-
usr/klibc/arch/riscv64/MCONFIG | 2 +-
usr/klibc/arch/sparc64/MCONFIG | 2 +-
usr/klibc/arch/x86_64/MCONFIG | 2 +-
8 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/Makefile b/Makefile
index c99b962f..c8325154 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,9 @@ export NM := $(KLIBCROSS)nm
export OBJCOPY := $(KLIBCROSS)objcopy
export OBJDUMP := $(KLIBCROSS)objdump
+LLD := $(shell $(LD) --version 2>&1 | grep LLD)
+export LD_IMAGE_BASE_OPT=$(if $(LLD),--image-base,-Ttext-segment)
+...
2020 Mar 29
7
[kvm-unit-tests PATCH v3 0/4] Update patch set
- Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT.
- Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc.
- Remove "dash" warning fixes which have been upstreamed.
- Conditionalize the inclusion of compiler flags by using the proper
compiler name or "cc-option".
- Added "-Werror" to "cc-option" to catch flags that cause warnings.
- Retain