[Buildroot] [PATCH 05/11] package/ktap: use kernel-module helper
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jun 8 21:25:59 UTC 2015
Yann,
On Sun, 7 Jun 2015 00:20:41 +0200, Yann E. MORIN wrote:
> define KTAP_BUILD_CMDS
> $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) $(KTAP_FLAGS) ktap
> - $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) KERNEL_SRC=$(LINUX_DIR) KVERSION=$(LINUX_VERSION_PROBED) mod
> endef
>
> define KTAP_INSTALL_TARGET_CMDS
> $(INSTALL) -D -m755 $(@D)/ktap $(TARGET_DIR)/usr/bin/ktap
> - $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) KERNEL_SRC=$(LINUX_DIR) KVERSION=$(LINUX_VERSION_PROBED) modules_install
> endef
I think you are effectively getting rid of the KERNEL_SRC definition
here. Did you test that it was working OK without this variable?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list