logrotate: fix build with external toolchain

This commit is contained in:
Peter Korsgaard 2009-03-05 16:42:14 +00:00
parent 04d9a2038a
commit 802011ae1f

View File

@ -10,11 +10,11 @@ $(DL_DIR)/$(LOGROTATE_SOURCE):
$(LOGROTATE_DIR)/.source: $(DL_DIR)/$(LOGROTATE_SOURCE) $(LOGROTATE_DIR)/.source: $(DL_DIR)/$(LOGROTATE_SOURCE)
$(ZCAT) $(DL_DIR)/$(LOGROTATE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(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 $@ touch $@
$(LOGROTATE_DIR)/$(LOGROTATE_BINARY): $(LOGROTATE_DIR)/.source $(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) $(TARGET_DIR)/$(LOGROTATE_TARGET_BINARY): $(LOGROTATE_DIR)/$(LOGROTATE_BINARY)
$(MAKE) PREFIX=$(TARGET_DIR) -C $(LOGROTATE_DIR) install $(MAKE) PREFIX=$(TARGET_DIR) -C $(LOGROTATE_DIR) install