From: Waldemar Kozaczuk <[email protected]> Committer: Waldemar Kozaczuk <[email protected]> Branch: master
aarch64: download and add kernel headers when cross-compiling on fedora so we can build tst-ifaddr.cc Signed-off-by: Waldemar Kozaczuk <[email protected]> --- diff --git a/modules/common.gmk b/modules/common.gmk --- a/modules/common.gmk +++ b/modules/common.gmk @@ -82,7 +82,7 @@ ifeq ($(CXX_INCLUDES),) ifeq (,$(gcc-inc-base2)) $(error Could not find standard gcc headers like "unwind.h" under $(aarch64_gccbase) directory. Please run "./scripts/download_aarch64_packages.py") endif - STANDARD_GCC_INCLUDES = -isystem $(gcc-inc-base2) + STANDARD_GCC_INCLUDES = -isystem $(gcc-inc-base2) -isystem $(aarch64_gccbase)/usr/include gcc-sysroot = --sysroot $(aarch64_gccbase) standard-includes-flag = -nostdinc diff --git a/scripts/download_aarch64_packages.py b/scripts/download_aarch64_packages.py --- a/scripts/download_aarch64_packages.py +++ b/scripts/download_aarch64_packages.py @@ -23,6 +23,7 @@ def fedora_download_commands(fedora_version): gcc_packages = ['gcc', 'glibc', 'glibc-devel', + 'kernel-headers', 'libgcc', 'libstdc++', 'libstdc++-devel', -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osv-dev/00000000000077d10105de39b93e%40google.com.
