Building the driver on jetson orinNX fails drivers/platform/Kconfig:17: can't open file "drivers/platform/tegra/Kconfig"

We bought a custom version and tried to install a pcie module driver on it, but there was an error when making, I think it should be a kernel problem? Because I am also a novice, know not much. Can someone help me? I’d appreciate it.I looked up the forums, BUT THEY were all about building the kernel, I just wanted to install the driver, preferably in a convenient way. Finally, if the kernel had to be rebuilt, wouldn’t it affect other peripherals on the device?

drivers/platform/Kconfig:17: can’t open file “drivers/platform/tegra/Kconfig”
The driver makefile is

Sorry for the late response.
Is this still an issue to support? Any result can be shared?

Yes, I haven’t solved it yet. But the error message should be like this.

It seems that the topics I found on the internet are all about errors that should appear during the kernel build? Should I rebuild? Will this cause other peripherals to stop working? Because this device is a custom board and I just want the driver to be installed successfully without any other ideas. Because Linux is not simple for me, I am a beginner.