* 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:
parent
b54a748621
commit
87470def24
5
Makefile
5
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user