diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-04-22 10:06:48 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-04-22 10:39:35 +0200 |
commit | 2970c26e3500d3644c0fc96c12dbc31a37f5a79f (patch) | |
tree | 66bcea9b2585059a5826c431f1ded431b6afc056 /rules/busybox.make | |
parent | 2044bc2860e60276a8f80d542b759fe1e0f9bb7d (diff) | |
download | ptxdist-2970c26e3500d3644c0fc96c12dbc31a37f5a79f.tar.gz ptxdist-2970c26e3500d3644c0fc96c12dbc31a37f5a79f.tar.xz |
[busybox] fix [target]install
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/busybox.make')
-rw-r--r-- | rules/busybox.make | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/rules/busybox.make b/rules/busybox.make index b98beb010..1616ab1d5 100644 --- a/rules/busybox.make +++ b/rules/busybox.make @@ -66,6 +66,17 @@ BUSYBOX_INSTALL_OPT := \ install # ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/busybox.install: + @$(call targetinfo) + @$(call world/install, BUSYBOX) + install -D -m644 $(BUSYBOX_DIR)/busybox.links \ + $(BUSYBOX_PKGDIR)/etc/busybox.links + @$(call touch) + +# ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- @@ -86,7 +97,7 @@ ifdef PTXCONF_BUSYBOX_FEATURE_SUID else @$(call install_copy, busybox, 0, 0, 755, -, /bin/busybox) endif - @cat $(BUSYBOX_DIR)/busybox.links | while read link; do \ + @cat $(BUSYBOX_PKGDIR)/etc/busybox.links | while read link; do \ case "$${link}" in \ (/*/*/*) to="../../bin/busybox" ;; \ (/bin/*) to="busybox" ;; \ |