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
a479c7f65d
commit
f2a215a790
2
Kconfig
2
Kconfig
@@ -30,3 +30,5 @@ source "crypto/Kconfig"
|
||||
source "lib/Kconfig"
|
||||
|
||||
source "lib/Kconfig.debug"
|
||||
|
||||
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_tcp_opt.o rmnet_perf_udp_opt.o
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
# RMNET_PERF driver
|
||||
#
|
||||
|
||||
menuconfig RMNET_PERF
|
||||
tristate "Rmnet Perf driver"
|
||||
default m
|
||||
# depends on RMNET
|
||||
---help---
|
||||
performance mode of rmnet driver
|
||||
config RMNET_PERF
|
||||
tristate "Rmnet Perf driver"
|
||||
default m
|
||||
depends on RMNET
|
||||
---help---
|
||||
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
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
# RMNET_SHS driver
|
||||
#
|
||||
|
||||
menuconfig RMNET_SHS
|
||||
tristate "Rmnet SHS driver"
|
||||
default m
|
||||
# depends on RMNET
|
||||
---help---
|
||||
performance mode of rmnet driver
|
||||
config RMNET_SHS
|
||||
tristate "Rmnet SHS driver"
|
||||
default m
|
||||
depends on RMNET
|
||||
---help---
|
||||
performance mode of rmnet driver
|
||||
|
||||
Reference in New Issue
Block a user