diff options
-rw-r--r-- | package/libdaemon/libdaemon.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libdaemon/libdaemon.mk b/package/libdaemon/libdaemon.mk index ffce44c6a..0c764a673 100644 --- a/package/libdaemon/libdaemon.mk +++ b/package/libdaemon/libdaemon.mk @@ -24,14 +24,16 @@ $(DL_DIR)/$(LIBDAEMON_SOURCE): libdaemon-source: $(DL_DIR)/$(LIBDAEMON_SOURCE) +libdaemon-unpacked: $(LIBDAEMON_DIR)/.unpacked $(LIBDAEMON_DIR)/.unpacked: $(DL_DIR)/$(LIBDAEMON_SOURCE) $(LIBDAEMON_CAT) $(DL_DIR)/$(LIBDAEMON_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(LIBDAEMON_DIR) package/libdaemon/ \*.patch - $(CONFIG_UPDATE) $(LIBDAEMON_DIR) touch $@ +libdaemon-configured: $(LIBDAEMON_DIR)/.configured $(LIBDAEMON_DIR)/.configured: $(LIBDAEMON_DIR)/.unpacked (cd $(LIBDAEMON_DIR) && rm -rf config.cache && libtoolize --copy --force && autoreconf) + $(CONFIG_UPDATE) $(LIBDAEMON_DIR) (cd $(LIBDAEMON_DIR) && \ $(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_ARGS) \ |