The /lib/modules/<version>/kernel/ is completely rewritten by the
kernel module installation, so third party modules should be outside
of this directory.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
--with-linux-dir=$(LINUX_DIR) \
--disable-leds \
--disable-rtailab \
- --with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/kernel/rtai
+ --with-module-dir=/lib/modules/$(LINUX_VERSION_PROBED)/rtai
RTAI_MAKE = $(MAKE1)