From baf7ae01976c9003616ce73e0c649a943b177b26 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Sat, 21 Oct 2023 00:22:47 +0100 Subject: [PATCH] rtk_btusb: Strip modules using llvm-strip With this, the GCC dependency is gone for good. Change-Id: Icb21e4133a6bd872beeb907c671766809dd794af --- Android.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Android.mk b/Android.mk index 74d7c3f..00f98c2 100644 --- a/Android.mk +++ b/Android.mk @@ -1,5 +1,5 @@ # -# 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. @@ -36,7 +36,7 @@ $(_rtkbtusb_ko): $(KERNEL_OUT)/arch/$(KERNEL_ARCH)/boot/$(BOARD_KERNEL_IMAGE_NAM @mkdir -p $(dir $@) @cp -R $(RTKBTUSB_PATH)/* $(_rtkbtusb_intermediates)/ $(PATH_OVERRIDE) $(KERNEL_MAKE_CMD) $(KERNEL_MAKE_FLAGS) -C $(KERNEL_OUT) M=$(abspath $(_rtkbtusb_intermediates)) ARCH=$(TARGET_KERNEL_ARCH) $(KERNEL_CROSS_COMPILE) $(RTKBTUSB_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 -- 2.20.1