* [Buildroot] svn commit: trunk/buildroot/package/logrotate
@ 2008-10-07 17:08 wberrier at uclibc.org
0 siblings, 0 replies; 2+ messages in thread
From: wberrier at uclibc.org @ 2008-10-07 17:08 UTC (permalink / raw)
To: buildroot
Author: wberrier
Date: 2008-10-07 10:08:25 -0700 (Tue, 07 Oct 2008)
New Revision: 23619
Log:
logrotate: remove duplicate deps. Clean up '/etc'
on make clean. Some other syntactic niceties.
Modified:
trunk/buildroot/package/logrotate/logrotate.mk
Changeset:
Modified: trunk/buildroot/package/logrotate/logrotate.mk
===================================================================
--- trunk/buildroot/package/logrotate/logrotate.mk 2008-10-07 17:00:58 UTC (rev 23618)
+++ trunk/buildroot/package/logrotate/logrotate.mk 2008-10-07 17:08:25 UTC (rev 23619)
@@ -21,18 +21,20 @@
$(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf
$(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d
-logrotate: uclibc busybox popt $(TARGET_DIR)/$(LOGROTATE_TARGET_BINARY)
+logrotate: popt $(TARGET_DIR)/$(LOGROTATE_TARGET_BINARY)
logrotate-source: $(DL_DIR)/$(LOGROTATE_SOURCE)
logrotate-clean:
rm -f $(TARGET_DIR)/$(LOGROTATE_TARGET_BINARY)
+ rm -f $(TARGET_DIR)/etc/logrotate.conf
+ -rmdir $(TARGET_DIR)/etc/logrotate.d
-$(MAKE) -C $(LOGROTATE_DIR) clean
logrotate-dirclean:
- rm -Rf $(LOGROTATE_DIR)
+ rm -rf $(LOGROTATE_DIR)
-ifeq ($(strip $(BR2_PACKAGE_LOGROTATE)),y)
+ifeq ($(BR2_PACKAGE_LOGROTATE),y)
TARGETS+=logrotate
endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/logrotate
@ 2009-03-05 16:42 jacmet at uclibc.org
0 siblings, 0 replies; 2+ messages in thread
From: jacmet at uclibc.org @ 2009-03-05 16:42 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2009-03-05 16:42:14 +0000 (Thu, 05 Mar 2009)
New Revision: 25551
Log:
logrotate: fix build with external toolchain
Modified:
trunk/buildroot/package/logrotate/logrotate.mk
Changeset:
Modified: trunk/buildroot/package/logrotate/logrotate.mk
===================================================================
--- trunk/buildroot/package/logrotate/logrotate.mk 2009-03-05 16:32:27 UTC (rev 25550)
+++ trunk/buildroot/package/logrotate/logrotate.mk 2009-03-05 16:42:14 UTC (rev 25551)
@@ -10,11 +10,11 @@
$(LOGROTATE_DIR)/.source: $(DL_DIR)/$(LOGROTATE_SOURCE)
$(ZCAT) $(DL_DIR)/$(LOGROTATE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- toolchain/patch-kernel.sh $(LOGROTATE_DIR) package/logrotate/ *.patch
+ toolchain/patch-kernel.sh $(LOGROTATE_DIR) package/logrotate/ *.patch
touch $@
$(LOGROTATE_DIR)/$(LOGROTATE_BINARY): $(LOGROTATE_DIR)/.source
- $(MAKE) CC=$(TARGET_CC) -C $(LOGROTATE_DIR)
+ $(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS)" -C $(LOGROTATE_DIR)
$(TARGET_DIR)/$(LOGROTATE_TARGET_BINARY): $(LOGROTATE_DIR)/$(LOGROTATE_BINARY)
$(MAKE) PREFIX=$(TARGET_DIR) -C $(LOGROTATE_DIR) install
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-05 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-07 17:08 [Buildroot] svn commit: trunk/buildroot/package/logrotate wberrier at uclibc.org
-- strict thread matches above, loose matches on Subject: below --
2009-03-05 16:42 jacmet at uclibc.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox