Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/pppd

Buildroot ulf at uclibc.org 3 participants 3 messages Aug 28, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-08-28 11:22:38 -0700 (Tue, 28 Aug 2007) New Revision: 19715

Log:
This fixes make clean on pppd package (there is no rule uninstall in pppd's makefile) and does some small bits of cleanup.

Modified:
trunk/buildroot/package/pppd/pppd.mk

Changeset:
Modified: trunk/buildroot/package/pppd/pppd.mk
===================================================================

buildroot/package/pppd/pppd.mk +2 -3
@@ -26,7 +26,7 @@
 	$(SED) 's,(INSTALL) -s,(INSTALL),' $(PPPD_DIR)/pppd/plugins/*/Makefile.linux
 	$(SED) 's/ -o root//' $(PPPD_DIR)/*/Makefile.linux
 	$(SED) 's/ -g daemon//' $(PPPD_DIR)/*/Makefile.linux
-	touch $(PPPD_DIR)/.unpacked
+	touch $@
 
 $(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked
 	(cd $(PPPD_DIR); rm -rf config.cache; \
@@ -49,7 +49,7 @@
 		--infodir=/usr/info \
 		$(DISABLE_NLS) \
 	)
-	touch $(PPPD_DIR)/.configured
+	touch $@
 
 $(PPPD_DIR)/$(PPPD_BINARY): $(PPPD_DIR)/.configured
 	$(MAKE) CC=$(TARGET_CC) COPTS="$(TARGET_CFLAGS)" -C $(PPPD_DIR)
@@ -65,7 +65,6 @@
 	rm -f $(TARGET_DIR)/usr/sbin/pppd
 	rm -f $(TARGET_DIR)/usr/sbin/chat
 	rm -rf $(TARGET_DIR)/etc/ppp
-	$(MAKE) DESTDIR=$(TARGET_DIR)/usr CC=$(TARGET_CC) -C $(PPPD_DIR) uninstall
 	-$(MAKE) -C $(PPPD_DIR) clean
 
 pppd-dirclean:
#2 lore raw
Quoted 8 lines · Bernhard Fischer
Quoted 3 lines

This fixes make clean on pppd package (there is no rule uninstall in pppd's makefile) and does some small bits of cleanup.

Heck, no!
http://lists.uclibc.org/lists/buildroot/2007-August/004742.html

Ulf, please fix that..

uninstall targets are not that common, AFAIK, but I'd love to be proven wrong :) A quick search shows these might need to be checked:

package/at/at.mk
package/autoconf/autoconf.mk package/automake/automake.mk
package/bash/bash.mk
package/bison/bison.mk
package/bridge/bridge.mk
package/bzip2/bzip2.mk package/coreutils/coreutils.mk package/dhcp/dhcp.mk
package/dialog/dialog.mk package/diffutils/diffutils.mk package/directfb/directfb.mk package/e2fsprogs/e2fsprogs.mk
package/ed/ed.mk
package/file/file.mk package/findutils/findutils.mk package/fontconfig/fontconfig.mk package/freetype/freetype.mk
package/gawk/gawk.mk
package/gettext/gettext.mk
package/grep/grep.mk package/gtk2-engines/gtk2-engines.mk package/gzip/gzip.mk
package/hostap/hostap.mk package/ipsec-tools/ipsec-tools.mk package/less/less.mk
package/libdrm/libdrm.mk
package/libelf/libelf.mk package/libsndfile/libsndfile.mk package/libsysfs/libsysfs.mk package/libtool/libtool.mk package/lighttpd/lighttpd.mk package/ltrace/ltrace.mk
package/ltt/ltt.mk
package/lvm2/lvm2.mk
package/lzo/lzo.mk
package/m4/m4.mk
package/make/make.mk
package/matchbox/matchbox.mk package/mdadm/mdadm.mk
package/mkdosfs/mkdosfs.mk package/module-init-tools/module-init-tools.mk package/modutils/modutils.mk package/netkitbase/netkitbase.mk package/netkittelnet/netkittelnet.mk package/netsnmp/netsnmp.mk package/openssh/openssh.mk package/openswan/openswan.mk package/openvpn/openvpn.mk package/pkgconfig/pkgconfig.mk package/quagga/quagga.mk package/raidtools/raidtools.mk package/readline/readline.mk
package/ruby/ruby.mk
package/sdl/sdl.mk
package/sed/sed.mk package/smartmontools/smartmontools.mk package/tar/tar.mk
package/tcl/tcl.mk
package/tslib/tslib.mk package/util-linux/util-linux.mk package/vtun/vtun.mk
package/wipe/wipe.mk package/wireless-tools/wireless-tools.mk package/x11r7/mesa3d/mesa3d.mk package/x11r7/xapp_xman/xapp_xman.mk package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk target/x86/grub/grub.mk
target/x86/grub2/grub2.mk

Cheers,

Signature · 1 line
Cristian