techpack: Integrate Qualcomm data-kernel package
This allows to build the rmnet_perf and rmnet_shs modules into the kernel easily. Signed-off-by: Danny Lin <danny@kdrag0n.dev> Change-Id: I205ec5517e6b1af87f7c3ca8c31a86fd98d715da
This commit is contained in:
committed by
Michael Bestas
parent
06e2660b5e
commit
3b2c7f5270
2
Kconfig
2
Kconfig
@@ -10,3 +10,5 @@ config SRCARCH
|
|||||||
option env="SRCARCH"
|
option env="SRCARCH"
|
||||||
|
|
||||||
source "arch/$SRCARCH/Kconfig"
|
source "arch/$SRCARCH/Kconfig"
|
||||||
|
|
||||||
|
source "techpack/Kconfig"
|
||||||
|
|||||||
5
techpack/Kconfig
Normal file
5
techpack/Kconfig
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
menu "Tech packages"
|
||||||
|
|
||||||
|
source "techpack/data/Kconfig"
|
||||||
|
|
||||||
|
endmenu
|
||||||
1
techpack/data/Kconfig
Normal file
1
techpack/data/Kconfig
Normal file
@@ -0,0 +1 @@
|
|||||||
|
source "techpack/data/drivers/Kconfig"
|
||||||
1
techpack/data/Makefile
Normal file
1
techpack/data/Makefile
Normal file
@@ -0,0 +1 @@
|
|||||||
|
obj-y += drivers/
|
||||||
5
techpack/data/drivers/Kconfig
Normal file
5
techpack/data/drivers/Kconfig
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
menu "RmNet extensions"
|
||||||
|
|
||||||
|
source "techpack/data/drivers/rmnet/Kconfig"
|
||||||
|
|
||||||
|
endmenu
|
||||||
1
techpack/data/drivers/Makefile
Normal file
1
techpack/data/drivers/Makefile
Normal file
@@ -0,0 +1 @@
|
|||||||
|
obj-y += rmnet/
|
||||||
2
techpack/data/drivers/rmnet/Kconfig
Normal file
2
techpack/data/drivers/rmnet/Kconfig
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
source "techpack/data/drivers/rmnet/perf/Kconfig"
|
||||||
|
source "techpack/data/drivers/rmnet/shs/Kconfig"
|
||||||
2
techpack/data/drivers/rmnet/Makefile
Normal file
2
techpack/data/drivers/rmnet/Makefile
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
obj-y += perf/
|
||||||
|
obj-y += shs/
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
obj-m += rmnet_perf.o
|
obj-$(CONFIG_RMNET_PERF) += rmnet_perf.o
|
||||||
rmnet_perf-y := rmnet_perf_config.o rmnet_perf_core.o rmnet_perf_opt.o \
|
rmnet_perf-y := rmnet_perf_config.o rmnet_perf_core.o rmnet_perf_opt.o \
|
||||||
rmnet_perf_tcp_opt.o rmnet_perf_udp_opt.o
|
rmnet_perf_tcp_opt.o rmnet_perf_udp_opt.o
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
# RMNET_PERF driver
|
# RMNET_PERF driver
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig RMNET_PERF
|
config RMNET_PERF
|
||||||
tristate "Rmnet Perf driver"
|
tristate "Rmnet Perf driver"
|
||||||
default m
|
default m
|
||||||
# depends on RMNET
|
depends on RMNET
|
||||||
---help---
|
---help---
|
||||||
performance mode of rmnet driver
|
performance mode of rmnet driver
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
obj-m += rmnet_shs.o
|
obj-$(CONFIG_RMNET_SHS) += rmnet_shs.o
|
||||||
rmnet_shs-y := rmnet_shs_config.o rmnet_shs_main.o rmnet_shs_wq.o rmnet_shs_freq.o rmnet_shs_wq_mem.o rmnet_shs_wq_genl.o
|
rmnet_shs-y := rmnet_shs_config.o rmnet_shs_main.o rmnet_shs_wq.o rmnet_shs_freq.o rmnet_shs_wq_mem.o rmnet_shs_wq_genl.o
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
# RMNET_SHS driver
|
# RMNET_SHS driver
|
||||||
#
|
#
|
||||||
|
|
||||||
menuconfig RMNET_SHS
|
config RMNET_SHS
|
||||||
tristate "Rmnet SHS driver"
|
tristate "Rmnet SHS driver"
|
||||||
default m
|
default m
|
||||||
# depends on RMNET
|
depends on RMNET
|
||||||
---help---
|
---help---
|
||||||
performance mode of rmnet driver
|
performance mode of rmnet driver
|
||||||
|
|||||||
Reference in New Issue
Block a user