mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/openpowerlink: properly handle legacy options
Commit "b1063a0136 package/openpowerlink: bump to v2.2.2" tried to add
legacy handling but the new symbols are part of a choice, and Kconfig
does not enforce the select of a option from a choice.
Update the legacy entry for 2016.02, following the example described in
the beginning of the file.
Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit e1e4f39507)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
d91470731e
commit
693f779fe8
@@ -4152,19 +4152,21 @@ config BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL
|
|||||||
config BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE
|
config BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE
|
||||||
bool "openpowerlink package has been updated"
|
bool "openpowerlink package has been updated"
|
||||||
select BR2_LEGACY
|
select BR2_LEGACY
|
||||||
select BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB
|
|
||||||
help
|
help
|
||||||
openpowerlink kernel modules are built if the
|
openpowerlink kernel modules are built if the
|
||||||
kernel stack library is selected.
|
kernel stack library is selected.
|
||||||
|
# Note: BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE is still referenced from
|
||||||
|
# package/openpowerlink/Config.in
|
||||||
|
|
||||||
config BR2_PACKAGE_OPENPOWERLINK_LIBPCAP
|
config BR2_PACKAGE_OPENPOWERLINK_LIBPCAP
|
||||||
bool "openpowerlink package has been updated"
|
bool "openpowerlink package has been updated"
|
||||||
select BR2_LEGACY
|
select BR2_LEGACY
|
||||||
select BR2_PACKAGE_OPENPOWERLINK_STACK_USERSPACE_DAEMON_LIB
|
|
||||||
help
|
help
|
||||||
The user space support has been split in two part:
|
The user space support has been split in two part:
|
||||||
- a monolithic user space library
|
- a monolithic user space library
|
||||||
- a user space daemon driver
|
- a user space daemon driver
|
||||||
|
# Note: BR2_PACKAGE_OPENPOWERLINK_LIBPCAP is still referenced from
|
||||||
|
# package/openpowerlink/Config.in
|
||||||
|
|
||||||
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
config BR2_LINUX_KERNEL_SAME_AS_HEADERS
|
||||||
bool "using the linux headers version for the kernel has been removed"
|
bool "using the linux headers version for the kernel has been removed"
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ endchoice
|
|||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "stack type"
|
prompt "stack type"
|
||||||
|
default BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB if BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE # legacy
|
||||||
|
default BR2_PACKAGE_OPENPOWERLINK_STACK_USERSPACE_DAEMON_LIB if BR2_PACKAGE_OPENPOWERLINK_LIBPCAP # legacy
|
||||||
|
|
||||||
config BR2_PACKAGE_OPENPOWERLINK_STACK_MONOLITHIC_USER_STACK_LIB
|
config BR2_PACKAGE_OPENPOWERLINK_STACK_MONOLITHIC_USER_STACK_LIB
|
||||||
bool "linked into application"
|
bool "linked into application"
|
||||||
|
|||||||
Reference in New Issue
Block a user