diff --git a/app/StaticLibLinux.xcconfig b/app/StaticLibLinux.xcconfig index c6c3cf860e..a83b4896b0 100644 --- a/app/StaticLibLinux.xcconfig +++ b/app/StaticLibLinux.xcconfig @@ -1,6 +1,6 @@ #include "StaticLib.xcconfig" -HEADER_SEARCH_PATHS = $(SRCROOT)/deps/linux/arch/ish/include $(MESON_BUILD_DIR)/deps/linux/arch/ish/include/generated $(SRCROOT)/deps/linux/include $(MESON_BUILD_DIR)/deps/linux/include $(SRCROOT)/deps/linux/arch/ish/include/uapi $(MESON_BUILD_DIR)/deps/linux/arch/ish/include/generated/uapi $(SRCROOT)/deps/linux/include/uapi $(MESON_BUILD_DIR)/deps/linux/arch/ish/include/generated/uapi $(SRCROOT)/deps/linux/arch/ish/include/ishemu $(SRCROOT) +HEADER_SEARCH_PATHS = $(SRCROOT)/deps/linux/arch/ish/include $(MESON_BUILD_DIR)/deps/linux/arch/ish/include/generated $(SRCROOT)/deps/linux/include $(MESON_BUILD_DIR)/deps/linux/include $(SRCROOT)/deps/linux/arch/ish/include/uapi $(MESON_BUILD_DIR)/deps/linux/arch/ish/include/generated/uapi $(SRCROOT)/deps/linux/include/uapi $(MESON_BUILD_DIR)/deps/linux/arch/ish/include/generated/uapi $(SRCROOT)/deps/linux/arch/ish/emu/ishemu/include $(SRCROOT) GCC_PREPROCESSOR_DEFINITIONS = __KERNEL__ OTHER_CFLAGS = -U__weak -include $(SRCROOT)/deps/linux/include/linux/kconfig.h -include $(SRCROOT)/deps/linux/include/linux/compiler_types.h -Wno-gnu-variable-sized-type-not-at-end -Wno-conditional-uninitialized // disable modules because it results in clashes between linux and clang headers diff --git a/deps/linux b/deps/linux index 4f28030eec..3c06c4faa6 160000 --- a/deps/linux +++ b/deps/linux @@ -1 +1 @@ -Subproject commit 4f28030eec4e38f7e4a8626e58e7a4e3a424f0c7 +Subproject commit 3c06c4faa67cf4db6144e7c686ab5b4e9539ec82 diff --git a/deps/linux-build.sh b/deps/linux-build.sh index d24e28db7c..3a90669d56 100755 --- a/deps/linux-build.sh +++ b/deps/linux-build.sh @@ -4,7 +4,6 @@ output="$1" srctree="$2" objtree="$3" depfile="$4" -export ARCH=ish # https://stackoverflow.com/a/3572105/1455016 realpath() { @@ -12,6 +11,7 @@ realpath() { } makeargs=() +makeargs+=("ARCH=ish") if [[ -n "$HOSTCC" ]]; then makeargs+=("HOSTCC=$HOSTCC") fi @@ -22,8 +22,8 @@ makeargs+=("LLVM_IAS=1") mkdir -p "$objtree" cat >"$(realpath "$objtree/meson_vars.mk")" <