Fix build directives and clean target screwed up by me.
author"Steven J. Hill" <sjhill@realitydiluted.com>
Tue, 17 Jul 2007 00:25:31 +0000 (00:25 -0000)
committer"Steven J. Hill" <sjhill@realitydiluted.com>
Tue, 17 Jul 2007 00:25:31 +0000 (00:25 -0000)
package/lockfile-progs/lockfile-progs.mk

index 2fdaa4b8d9d404a60fbf46323310495f9d56656e..ecf09b034952793d68e4bd0c058450b755c679c4 100644 (file)
@@ -20,14 +20,15 @@ $(LOCKFILE_PROGS_DIR)/.unpacked: $(DL_DIR)/$(LOCKFILE_PROGS_SOURCE)
        touch $(LOCKFILE_PROGS_DIR)/.unpacked
 
 $(TARGET_DIR)/$(LOCKFILE_PROGS_BINARY): $(LOCKFILE_PROGS_DIR)/.unpacked
-       $(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS)" -C $(LOCKFILE_PROGS_DIR)
+       $(MAKE) $(TARGET_CONFIGURE_OPTS) LDFLAGS="$(TARGET_LDFLAGS)"    \
+               -C $(LOCKFILE_PROGS_DIR)
        cp -a $(LOCKFILE_PROGS_DIR)/bin/lockfile* $(TARGET_DIR)/usr/bin
        $(STRIP) --strip-unneeded $(TARGET_DIR)/$(LOCKFILE_PROGS_BINARY)
 
 lockfile-progs: uclibc liblockfile $(TARGET_DIR)/$(LOCKFILE_PROGS_BINARY)
 
 lockfile-progs-clean:
-       rm -f $(TARGET_DIR)/usr/bin/lockfile*Z
+       rm -f $(TARGET_DIR)/usr/bin/lockfile-*
        $(MAKE) -C $(LOCKFILE_PROGS_DIR) clean
 
 lockfile-progs-dirclean: