From 90460bd22765f3d4f18c1d0961c467c70100528f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 23 Jan 2007 11:47:05 +0000 Subject: [PATCH] - update timestamp of the build_dir binary by stripping it --- package/kexec/kexec.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/kexec/kexec.mk b/package/kexec/kexec.mk index e24c3e1ac1..9c4ead42b2 100644 --- a/package/kexec/kexec.mk +++ b/package/kexec/kexec.mk @@ -38,7 +38,7 @@ ifneq ($(KEXEC_PATCH),) toolchain/patch-kernel.sh $(KEXEC_DIR) $(KEXEC_DIR)/debian/patches \*.patch endif toolchain/patch-kernel.sh $(KEXEC_DIR) package/kexec/ kexec\*.dpatch - touch $(KEXEC_DIR)/.unpacked + touch $@ $(KEXEC_DIR)/.configured: $(KEXEC_DIR)/.unpacked (cd $(KEXEC_DIR); rm -rf config.cache; \ @@ -50,15 +50,17 @@ $(KEXEC_DIR)/.configured: $(KEXEC_DIR)/.unpacked --prefix=/ \ $(KEXEC_CONFIG_OPTS) \ ); - touch $(KEXEC_DIR)/.configured + touch $@ $(KEXEC_DIR)/$(KEXEC_BINARY): $(KEXEC_DIR)/.configured $(TARGET_CONFIGURE_OPTS) $(MAKE) CC=$(TARGET_CC) -C $(KEXEC_DIR) + $(STRIP) -s $@ $(TARGET_DIR)/$(KEXEC_TARGET_BINARY): $(KEXEC_DIR)/$(KEXEC_BINARY) cp -dpf $(KEXEC_DIR)/objdir-$(GNU_TARGET_NAME)/build/sbin/$(KEXEC_BINARY) \ $(KEXEC_DIR)/objdir-$(GNU_TARGET_NAME)/build/sbin/kdump \ $(TARGET_DIR)/sbin/ + touch -c $@ kexec: uclibc $(TARGET_DIR)/$(KEXEC_TARGET_BINARY) -- 2.30.2