summaryrefslogtreecommitdiffstats
path: root/package/libsemanage
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-01 22:27:13 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-01 22:27:13 +0100
commita963685245d4ad25b40520b251024720c3b18e11 (patch)
tree5e3ad54bb9a6b2c8b2aad5770666b07aaa93a7a9 /package/libsemanage
parentab2f2484badfe729331f8028b510a480107a135d (diff)
downloadbuildroot-a963685245d4ad25b40520b251024720c3b18e11.tar.gz
buildroot-a963685245d4ad25b40520b251024720c3b18e11.zip
libsemanage: misc improvements
This commit should have been part of the "libsemanage: new package" commit, but due a mistake, the former commit was pushed before those changes were squashed into it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libsemanage')
-rw-r--r--package/libsemanage/Config.in10
-rw-r--r--package/libsemanage/libsemanage.mk18
2 files changed, 14 insertions, 14 deletions
diff --git a/package/libsemanage/Config.in b/package/libsemanage/Config.in
index e4013cd226..3f4bfb70a2 100644
--- a/package/libsemanage/Config.in
+++ b/package/libsemanage/Config.in
@@ -16,15 +16,15 @@ config BR2_PACKAGE_LIBSEMANAGE
http://selinuxproject.org/page/Main_Page
-comment "libsemanage needs a toolchain w/ largefile, threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
-
if BR2_PACKAGE_LIBSEMANAGE
config BR2_PACKAGE_LIBSEMANAGE_PYTHON_BINDINGS
- select BR2_PACKAGE_PYTHON
+ depends on BR2_PACKAGE_PYTHON
bool "python bindings"
help
- enable building python bindings
+ Enable building python bindings
endif
+
+comment "libsemanage needs a toolchain w/ largefile, threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
diff --git a/package/libsemanage/libsemanage.mk b/package/libsemanage/libsemanage.mk
index 55e5705c6c..4813430d8d 100644
--- a/package/libsemanage/libsemanage.mk
+++ b/package/libsemanage/libsemanage.mk
@@ -17,7 +17,7 @@ LIBSEMANAGE_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS)
ifeq ($(BR2_PACKAGE_LIBSEMANAGE_PYTHON_BINDINGS),y)
-LIBSEMANAGE_DEPENDENCIES += python host-swig host-python
+LIBSEMANAGE_DEPENDENCIES += python host-swig
LIBSEMANAGE_MAKE_OPTS += \
PYINC="-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)/" \
PYTHONLIBDIR="-L$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/" \
@@ -29,29 +29,29 @@ define LIBSEMANAGE_PYTHON_BUILD_CMDS
endef
define LIBSEMANAGE_PYTHON_INSTALL_STAGING_CMDS
- $(MAKE) -C $(@D) install-pywrap $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR)
+ $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install-pywrap
endef
define LIBSEMANAGE_PYTHON_INSTALL_TARGET_CMDS
- $(MAKE) -C $(@D) install-pywrap $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR)
+ $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install-pywrap
endef
endif # End of BR2_PACKAGE_PYTHON
define LIBSEMANAGE_BUILD_CMDS
- # DESTDIR is needed during the compile to compute library and
+ # DESTDIR is needed during the compile to compute library and
# header paths.
$(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all
$(LIBSEMANAGE_PYTHON_BUILD_CMDS)
endef
define LIBSEMANAGE_INSTALL_STAGING_CMDS
- $(MAKE) -C $(@D) install $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR)
+ $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
$(LIBSEMANAGE_PYTHON_INSTALL_STAGING_CMDS)
endef
define LIBSEMANAGE_INSTALL_TARGET_CMDS
- $(MAKE) -C $(@D) install $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR)
+ $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
$(LIBSEMANAGE_PYTHON_INSTALL_TARGET_CMDS)
endef
@@ -59,13 +59,13 @@ HOST_LIBSEMANAGE_DEPENDENCIES = host-bison host-libsepol \
host-libselinux host-ustr host-bzip2
define HOST_LIBSEMANAGE_BUILD_CMDS
- # DESTDIR is needed during the compile to compute library and
+ # DESTDIR is needed during the compile to compute library and
# header paths.
- $(MAKE) -C $(@D) all $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR)
+ $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR) all
endef
define HOST_LIBSEMANAGE_INSTALL_CMDS
- $(MAKE) -C $(@D) install $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR)
+ $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) DESTDIR=$(HOST_DIR) install
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud