summaryrefslogtreecommitdiffstats
path: root/rules/sysutils.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-04-26 18:12:15 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2005-04-26 18:12:15 +0000
commited12ed789d743514961dbc2fb65a9a6f155e51ff (patch)
tree5e7f067c1e96d8793ea54a9e26d477a3655e987f /rules/sysutils.make
parente1bede30a11a511bf94495d0a4100b30eac57f54 (diff)
downloadptxdist-ed12ed789d743514961dbc2fb65a9a6f155e51ff.tar.gz
ptxdist-ed12ed789d743514961dbc2fb65a9a6f155e51ff.tar.xz
ipkgzied
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.7-trunk@2530 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/sysutils.make')
-rw-r--r--rules/sysutils.make18
1 files changed, 14 insertions, 4 deletions
diff --git a/rules/sysutils.make b/rules/sysutils.make
index 2e4d64aaf..4379174fa 100644
--- a/rules/sysutils.make
+++ b/rules/sysutils.make
@@ -111,14 +111,24 @@ sysutils_targetinstall_deps = $(STATEDIR)/sysutils.compile
$(STATEDIR)/sysutils.targetinstall: $(sysutils_targetinstall_deps)
@$(call targetinfo, $@)
+
+ @$(call install_init,default)
+ @$(call install_fixup,PACKAGE,sysutils)
+ @$(call install_fixup,PRIORITY,optional)
+ @$(call install_fixup,VERSION,$(SYSUTILS_VERSION))
+ @$(call install_fixup,SECTION,base)
+ @$(call install_fixup,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
+ @$(call install_fixup,DEPENDS,libc)
+ @$(call install_fixup,DESCRIPTION,missing)
+
ifdef PTXCONF_SYSUTILS_LSBUS
- cp $(SYSUTILS_DIR)/cmd/lsbus $(ROOTDIR)/usr/sbin/
- $(CROSSSTRIP) -R .note -R .comment $(ROOTDIR)/usr/sbin/lsbus
+ @$(call install_copy, 0, 0, 0755, $(SYSUTILS_DIR)/cmd/lsbus, /usr/sbin/lsbus)
endif
ifdef PTXCONF_SYSUTILS_SYSTOOL
- cp $(SYSUTILS_DIR)/cmd/systool $(ROOTDIR)/usr/sbin/
- $(CROSSSTRIP) -R .note -R .comment $(ROOTDIR)/usr/sbin/systool
+ @$(call install_copy, 0, 0, 0755, $(SYSUTILS_DIR)/cmd/systool, /usr/sbin/systool)
endif
+ @$(call install_finish)
+
touch $@
# ----------------------------------------------------------------------------