msm8996-common: readfem/readmac: Convert to bp
Change-Id: Ie607de76a658a475e8f1d6cf748e6e8fc8acfa5c
This commit is contained in:
19
readfem/Android.bp
Normal file
19
readfem/Android.bp
Normal 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",
|
||||
],
|
||||
}
|
||||
@@ -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
16
readmac/Android.bp
Normal 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",
|
||||
],
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user