msm8996-common: readfem/readmac: Convert to bp

Change-Id: Ie607de76a658a475e8f1d6cf748e6e8fc8acfa5c
This commit is contained in:
Bruno Martins
2025-01-27 14:20:23 +00:00
committed by Onelots
parent b8015d9936
commit cfb9794c24
4 changed files with 35 additions and 24 deletions

19
readfem/Android.bp Normal file
View File

@@ -0,0 +1,19 @@
//
// Copyright (C) 2017-2025 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
cc_binary {
name: "readfem",
vendor: true,
srcs: ["xiaomi_readfem.c"],
shared_libs: [
"libcutils",
"liblog",
],
cflags: [
"-Wall",
"-Werror",
],
}

View File

@@ -1,12 +0,0 @@
LOCAL_PATH:= $(call my-dir)
ifeq ($(strip $(BOARD_HAS_QCOM_WLAN)),true)
include $(CLEAR_VARS)
LOCAL_MODULE := readfem
LOCAL_MODULE_TAGS := optional
LOCAL_PROPRIETARY_MODULE := true
LOCAL_SRC_FILES := xiaomi_readfem.c
LOCAL_CFLAGS += -Wall -Werror
LOCAL_SHARED_LIBRARIES := libcutils liblog
include $(BUILD_EXECUTABLE)
endif

16
readmac/Android.bp Normal file
View File

@@ -0,0 +1,16 @@
//
// Copyright (C) 2017-2025 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
cc_binary {
name: "readmac",
vendor: true,
srcs: ["xiaomi_readmac.c"],
shared_libs: ["liblog"],
cflags: [
"-Wall",
"-Werror",
],
}

View File

@@ -1,12 +0,0 @@
LOCAL_PATH:= $(call my-dir)
ifeq ($(strip $(BOARD_HAS_QCOM_WLAN)),true)
include $(CLEAR_VARS)
LOCAL_MODULE := readmac
LOCAL_MODULE_TAGS := optional
LOCAL_PROPRIETARY_MODULE := true
LOCAL_SRC_FILES := xiaomi_readmac.c
LOCAL_CFLAGS += -Wall -Werror
LOCAL_SHARED_LIBRARIES := liblog
include $(BUILD_EXECUTABLE)
endif