diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-08-29 12:20:31 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2003-08-29 12:20:31 +0000 |
commit | c33388adb5fa8efdb8ed03b116b2d1186b37b425 (patch) | |
tree | 7348f573e2095adaa0bffabf52deaaba4ac9a28a /Makefile | |
parent | 5607e36f1029fbc2324c813b0e2de85f2ca6dc19 (diff) | |
download | busybox-w32-c33388adb5fa8efdb8ed03b116b2d1186b37b425.tar.gz busybox-w32-c33388adb5fa8efdb8ed03b116b2d1186b37b425.tar.bz2 busybox-w32-c33388adb5fa8efdb8ed03b116b2d1186b37b425.zip |
* Since busybox binary is unnecessary, deleted it from prerequisites.
* Changed so that not only links but /bin/busybox might be deleted.
* When double quoted PREFIX is defined by `.config' is used,
`make uninstall' does not work correctly.
When default PREFIX `pwd`/_install defined by Rules.mak is used,
similarly it does not work correctly.
Changed $$PREFIX into $(PREFIX) in order to fix this.
Patch by Hideki IWAMOTO
git-svn-id: svn://busybox.net/trunk/busybox@7284 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -54,8 +54,9 @@ busybox.links: applets/busybox.mkll include/config.h | |||
54 | install: applets/install.sh busybox busybox.links | 54 | install: applets/install.sh busybox busybox.links |
55 | $(SHELL) $< $(PREFIX) | 55 | $(SHELL) $< $(PREFIX) |
56 | 56 | ||
57 | uninstall: busybox busybox.links | 57 | uninstall: busybox.links |
58 | for i in `cat busybox.links` ; do rm -f $$PREFIX$$i; done | 58 | rm -f $(PREFIX)/bin/busybox |
59 | for i in `cat busybox.links` ; do rm -f $(PREFIX)$$i; done | ||
59 | 60 | ||
60 | install-hardlinks: applets/install.sh busybox busybox.links | 61 | install-hardlinks: applets/install.sh busybox busybox.links |
61 | $(SHELL) $< $(PREFIX) --hardlinks | 62 | $(SHELL) $< $(PREFIX) --hardlinks |