summaryrefslogtreecommitdiffstats
path: root/package/kexec
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-23 11:47:05 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-23 11:47:05 +0000
commit90460bd22765f3d4f18c1d0961c467c70100528f (patch)
tree492c10f1cebf749ce32115159351a7f0c023204a /package/kexec
parent32d9e0e55bc4e6914efc1eebfed83c0b7ad05051 (diff)
downloadbuildroot-novena-90460bd22765f3d4f18c1d0961c467c70100528f.tar.gz
buildroot-novena-90460bd22765f3d4f18c1d0961c467c70100528f.zip
- update timestamp of the build_dir binary by stripping it
Diffstat (limited to 'package/kexec')
-rw-r--r--package/kexec/kexec.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kexec/kexec.mk b/package/kexec/kexec.mk
index e24c3e1ac..9c4ead42b 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)