package/openpowerlink: link demos applications with PCIe library interface
authorRomain Naour <romain.naour@gmail.com>
Wed, 8 Jun 2016 21:21:58 +0000 (23:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 8 Jun 2016 21:24:05 +0000 (23:24 +0200)
In commit f1bc98f396778c9fd8c884527787eb538212f398 the CFG_BUILD_KERNEL_STACK
option wasn't set when the PCIe library interface is selected.

The build fail since the default choice "Link to Application" (which require
libpcap) is used.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/openpowerlink/openpowerlink.mk

index 53c636c7c561f928fb757ce11d9f2d4d12a92900..4d27d5a6350d01d1616ca5ebbfb7ad37d5a682b0 100644 (file)
@@ -131,6 +131,9 @@ OPENPOWERLINK_CONF_OPTS += \
 else ifeq ($(BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB),y)
 OPENPOWERLINK_CONF_OPTS += \
        -DCFG_BUILD_KERNEL_STACK="Linux Kernel Module"
+else ifeq ($(BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_PCIE_STACK_LIB),y)
+OPENPOWERLINK_CONF_OPTS += \
+       -DCFG_BUILD_KERNEL_STACK="Kernel stack on PCIe card"
 endif
 
 ifeq ($(BR2_PACKAGE_OPENPOWERLINK_DEMO_MN_CONSOLE),y)