From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Mon, 8 Jun 2015 23:25:59 +0200 Subject: [Buildroot] [PATCH 05/11] package/ktap: use kernel-module helper In-Reply-To: References: Message-ID: <20150608232559.743f42e6@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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