* Since busybox binary is unnecessary, deleted it from prerequisites.
authorGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 12:20:31 +0000 (12:20 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Fri, 29 Aug 2003 12:20:31 +0000 (12:20 -0000)
* 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

Makefile

index 3d6bcce83bdeca93c07dd29750a4f6513ddcbebc..bfa76010b1f3f2ce858b129e2a905f554ccd9683 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,8 +54,9 @@ busybox.links: applets/busybox.mkll include/config.h
 install: applets/install.sh busybox busybox.links
        $(SHELL) $< $(PREFIX)
 
-uninstall: busybox busybox.links
-       for i in `cat busybox.links` ; do rm -f $$PREFIX$$i; done
+uninstall: busybox.links
+       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
        $(SHELL) $< $(PREFIX) --hardlinks