I will try, meanwhile do I have another development-related question:
I do not want to build the whole kernel, just these modules, so:
I used make modules SUBDIRS=drivers/media/usb/cx231xx but there is a notification that this method is deprecated. What should I use?
The individual Konfigs, ie when I build just “tuners”. I have added “obj-$(CONFIG_MEDIA_TUNER_TDA18273) += tda18273.o” to the makefile, but how do I manipulate te config so that CONFIG_MEDIA_TUNER_TDA18273 is true?
OK. Thing is that I have no idea about the pedigree of this driver Anyway the include was wrong, was “#include “dvb_frontend.h”” should be "#include “media/dvb_frontend.h”
Now I get:
rivers/media/tuners//tda18273.c:2133:4: error: ‘struct dvb_tuner_info’ has no member named ‘frequency_min’; did you mean ‘frequency_min_hz’? .frequency_min = 42000000,
^~~~~~~~~~~~~
frequency_min_hz
drivers/media/tuners//tda18273.c:2134:4: error: ‘struct dvb_tuner_info’ has no member named ‘frequency_max’; did you mean ‘frequency_max_hz’?
.frequency_max = 870000000,
^~~~~~~~~~~~~
frequency_max_hz
drivers/media/tuners//tda18273.c:2135:4: error: ‘struct dvb_tuner_info’ has no member named ‘frequency_step’; did you mean ‘frequency_step_hz’?
.frequency_step = 50000,
^~~~~~~~~~~~~~
frequency_step_hz
drivers/media/tuners//tda18273.c:2144:14: error: initialization from incompatible pointer type -Werror=incompatible-pointer-types]
.release = tda18273_release
^~~~~~~~~~~~~~~~
That member is clearly named “.frequency_step_hz” in the other tuner files
That leaves:
CC [M] drivers/media/tuners//tda18273.o
drivers/media/tuners//tda18273.c:2144:14: error: initialization from incompatible pointer type -Werror=incompatible-pointer-types]
.release = tda18273_release
Wonder what would be a better approach? Just rebuild media and install or build a completely separate kernel as I apparently have to change a lot of files?