summaryrefslogtreecommitdiff
path: root/package/kmod
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-08-27 20:44:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-08-27 20:44:22 +0200
commitd56ebae1eeed4743feaac3f31cae7f402178e299 (patch)
tree37dcac84708e4d91c2abbce0f118c0adaa34365f /package/kmod
parent0fb72a57c6c2981c3749e4d834faeccd2f50b4de (diff)
install symlink for modinfo
Diffstat (limited to 'package/kmod')
-rw-r--r--package/kmod/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/kmod/Makefile b/package/kmod/Makefile
index 88037f45c..e5416ed4c 100644
--- a/package/kmod/Makefile
+++ b/package/kmod/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= kmod
PKG_VERSION:= 19
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= 3e7fee6eeff5435848b2dcc852bc8959066478d687d232284d67300c071e7b14
PKG_DESCR:= kernel module utils
PKG_SECTION:= sys/utils
@@ -30,6 +30,13 @@ $(eval $(call PKG_template,LIBKMOD,libkmod,$(PKG_VERSION)-${PKG_RELEASE},${PKGSS
CONFIG_STYLE:= minimal
CONFIGURE_ARGS+= --host=${GNU_TARGET_NAME}
+HOST_CONFIGURE_ARGS+= --disable-manpages \
+ --disable-logging
+
+hostpost-install:
+ ln -sf kmod $(STAGING_HOST_DIR)/usr/bin/depmod
+ ln -sf kmod $(STAGING_HOST_DIR)/usr/bin/modinfo
+
kmod-install:
$(INSTALL_DIR) $(IDIR_KMOD)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/kmod \
@@ -46,11 +53,5 @@ libkmod-install:
$(CP) $(WRKINST)/usr/lib/libkmod*.so* \
$(IDIR_LIBKMOD)/usr/lib
-HOST_CONFIGURE_ARGS+= --disable-manpages \
- --disable-logging
-
-hostpost-install:
- ln -sf kmod $(STAGING_HOST_DIR)/usr/bin/depmod
-
include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk