Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
techpack/datarmnet: add build time built-in modules support
Browse files Browse the repository at this point in the history
Signed-off-by: Vaisakh Murali <[email protected]>
  • Loading branch information
mvaisakh committed Jan 28, 2024
1 parent eec3e7d commit b072da4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
5 changes: 4 additions & 1 deletion techpack/datarmnet-ext/offload/Kbuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#rmnet_perf needs the symbols from the core driver module
KBUILD_EXTRA_SYMBOLS := $(shell pwd)/../../$(RMNET_CORE_PATH)/Module.symvers

ifeq ($(BUILTIN), 1)
obj-y += rmnet_offload.o
else
obj-m += rmnet_offload.o
endif
#Need core headers
ccflags-y := -I$(RMNET_CORE_INC_DIR) \
$(call cc-option,-Wno-misleading-indentation)
Expand Down
5 changes: 4 additions & 1 deletion techpack/datarmnet-ext/shs/Kbuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#rmnet_shs needs the symbols from the core driver module
KBUILD_EXTRA_SYMBOLS := $(shell pwd)/../../$(RMNET_CORE_PATH)/Module.symvers

ifeq ($(BUILTIN), 1)
obj-y += rmnet_shs.o
else
obj-m += rmnet_shs.o
endif
#Need core headers
ccflags-y := -I$(RMNET_CORE_INC_DIR) \
$(call cc-option,-Wno-misleading-indentation)
Expand Down
5 changes: 5 additions & 0 deletions techpack/datarmnet/core/Kbuild
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
ifeq ($(BUILTIN), 1)
obj-y += rmnet_core.o
obj-y += rmnet_ctl.o
else
obj-m += rmnet_core.o
obj-m += rmnet_ctl.o
endif
rmnet_core-y := rmnet_config.o rmnet_handlers.o rmnet_descriptor.o \
rmnet_genl.o rmnet_map_command.o rmnet_map_data.o rmnet_vnd.o\
qmi_rmnet.o wda_qmi.o dfc_qmi.o dfc_qmap.o
Expand Down

0 comments on commit b072da4

Please sign in to comment.