From 47196bcd45f9579bac1da8827d62f17cc42c2656 Mon Sep 17 00:00:00 2001 From: Wizzard Date: Wed, 29 Jan 2025 11:59:34 -0500 Subject: [PATCH] Temp fix --- linux-clang/linux6.12-zen/template | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/linux-clang/linux6.12-zen/template b/linux-clang/linux6.12-zen/template index d5eac3b..907f3ca 100644 --- a/linux-clang/linux6.12-zen/template +++ b/linux-clang/linux6.12-zen/template @@ -102,6 +102,18 @@ do_build() { mips*) _args="uImage modules dtbs"; arch=mips;; esac export LDFLAGS= + + # TEMP TEMP TEMP TEMP + mkdir -p include/vdso + cat > include/vdso/page.h << EOF +#ifndef __VDSO_PAGE_H +#define __VDSO_PAGE_H + +#include + +#endif /* __VDSO_PAGE_H */ +EOF + make CC=clang AS=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump HOSTCC=clang HOSTLD=ld.lld HOSTAR=llvm-ar ARCH=$arch ${_version} ${_cross} ${makejobs} prepare make CC=clang AS=clang LD=ld.lld AR=llvm-ar NM=llvm-nm STRIP=llvm-strip OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump HOSTCC=clang HOSTLD=ld.lld HOSTAR=llvm-ar ARCH=$arch ${_version} ${_cross} ${makejobs} ${_args} } @@ -311,4 +323,3 @@ linux6.12-zen-dbg_package() { vmove usr/lib/debug } } -