With this, the GCC dependency is gone for good.
Change-Id: Iece3d3e642434781a002b4d61d615afe70b1b19f
#
-# Copyright (C) 2021 The LineageOS Project
+# Copyright (C) 2021-2023 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@mkdir -p $(dir $@)
@cp -R $(RTL8822CS_PATH)/* $(_rtl8822cs_intermediates)/
$(PATH_OVERRIDE) $(KERNEL_MAKE_CMD) $(KERNEL_MAKE_FLAGS) -C $(KERNEL_OUT) M=$(abspath $(_rtl8822cs_intermediates)) ARCH=$(TARGET_KERNEL_ARCH) $(KERNEL_CROSS_COMPILE) $(RTL8822CS_CONFIGS) $(KERNEL_CLANG_TRIPLE) $(KERNEL_CC) modules
- $(KERNEL_TOOLCHAIN_PATH)strip --strip-unneeded $@;
+ $(TARGET_KERNEL_CLANG_PATH)/bin/llvm-strip --strip-unneeded $@;
include $(BUILD_SYSTEM)/base_rules.mk
endif