* 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
This commit is contained in:
Glenn L McGrath 2003-08-29 12:20:31 +00:00
parent b54a748621
commit 87470def24

View File

@ -54,8 +54,9 @@ busybox.links: applets/busybox.mkll include/config.h
install: applets/install.sh busybox busybox.links install: applets/install.sh busybox busybox.links
$(SHELL) $< $(PREFIX) $(SHELL) $< $(PREFIX)
uninstall: busybox busybox.links uninstall: busybox.links
for i in `cat busybox.links` ; do rm -f $$PREFIX$$i; done rm -f $(PREFIX)/bin/busybox
for i in `cat busybox.links` ; do rm -f $(PREFIX)$$i; done
install-hardlinks: applets/install.sh busybox busybox.links install-hardlinks: applets/install.sh busybox busybox.links
$(SHELL) $< $(PREFIX) --hardlinks $(SHELL) $< $(PREFIX) --hardlinks