summaryrefslogtreecommitdiffstats
path: root/package/pppd
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-28 18:22:38 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-28 18:22:38 +0000
commit558617ddf8cff531804d4de9e7cd1774311ce488 (patch)
tree1226f208bfa27a8d02809e30b0a89a33c16b6746 /package/pppd
parentf444143da50f7eb4987727e1a55ff3497505dd31 (diff)
downloadbuildroot-novena-558617ddf8cff531804d4de9e7cd1774311ce488.tar.gz
buildroot-novena-558617ddf8cff531804d4de9e7cd1774311ce488.zip
This fixes make clean on pppd package (there is no rule uninstall in pppd's makefile)
and does some small bits of cleanup. Signed-off-by: Thiago A. CorrĂȘa <thiago.correa@gmail.com>
Diffstat (limited to 'package/pppd')
-rw-r--r--package/pppd/pppd.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk
index c72f640c5..c0f584967 100644
--- a/package/pppd/pppd.mk
+++ b/package/pppd/pppd.mk
@@ -26,7 +26,7 @@ $(PPPD_DIR)/.unpacked: $(DL_DIR)/$(PPPD_SOURCE)
$(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 @@ $(PPPD_DIR)/.configured: $(PPPD_DIR)/.unpacked
--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 @@ pppd-clean:
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: