diff --git a/package/libsepol/Config.in b/package/libsepol/Config.in index 049c915c36..3b84c90761 100644 --- a/package/libsepol/Config.in +++ b/package/libsepol/Config.in @@ -10,9 +10,8 @@ config BR2_PACKAGE_LIBSEPOL if BR2_PACKAGE_LIBSEPOL config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION - string "Policy version" - default BR2_PACKAGE_REFPOLICY_POLICY_VERSION if BR2_PACKAGE_REFPOLICY_POLICY_VERSION != "" - default "30" + int "Policy version" + default 30 endif diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 3f421e2ac1..1a5fefff06 100644 --- a/package/refpolicy/refpolicy.mk +++ b/package/refpolicy/refpolicy.mk @@ -25,8 +25,7 @@ REFPOLICY_MAKE = \ $(TARGET_MAKE_ENV) \ $(MAKE1) -REFPOLICY_POLICY_VERSION = \ - $(call qstrip,$(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION)) +REFPOLICY_POLICY_VERSION = $(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION) REFPOLICY_POLICY_STATE = \ $(call qstrip,$(BR2_PACKAGE_REFPOLICY_POLICY_STATE))