- correct typo
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 24 Jan 2007 19:11:13 +0000 (19:11 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 24 Jan 2007 19:11:13 +0000 (19:11 -0000)
package/kexec/kexec.mk

index 9c4ead42b2fe86691427f54ff76fcd35c3e8a876..6d279a1dc53041e749c4e916f5b6efdcd52d48ce 100644 (file)
@@ -52,15 +52,15 @@ $(KEXEC_DIR)/.configured: $(KEXEC_DIR)/.unpacked
        );
        touch $@
 
-$(KEXEC_DIR)/$(KEXEC_BINARY): $(KEXEC_DIR)/.configured
+$(KEXEC_DIR)/objdir-$(GNU_TARGET_NAME)/build/sbin/$(KEXEC_BINARY): $(KEXEC_DIR)/.configured
        $(TARGET_CONFIGURE_OPTS) $(MAKE) CC=$(TARGET_CC) -C $(KEXEC_DIR)
-       $(STRIP) -s $@
+       touch -c $@
 
-$(TARGET_DIR)/$(KEXEC_TARGET_BINARY): $(KEXEC_DIR)/$(KEXEC_BINARY)
+$(TARGET_DIR)/$(KEXEC_TARGET_BINARY): $(KEXEC_DIR)/objdir-$(GNU_TARGET_NAME)/build/sbin/$(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 $@
+       $(STRIP) -s $(TARGET_DIR)/sbin/k{exec,dump}
 
 kexec: uclibc $(TARGET_DIR)/$(KEXEC_TARGET_BINARY)