Fix duplicate $(AUTORECONF) run in autoreconf and configure targets
This commit is contained in:
parent
feb569d3cd
commit
18a7694675
@ -192,17 +192,15 @@ endif
|
|||||||
$(BUILD_DIR)/%/.stamp_autoconfigured:
|
$(BUILD_DIR)/%/.stamp_autoconfigured:
|
||||||
$(call MESSAGE,"Running autoreconf")
|
$(call MESSAGE,"Running autoreconf")
|
||||||
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
|
$(Q)cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF)
|
||||||
|
# if the package uses libtool, patch it for cross-compiling in buildroot
|
||||||
|
$(Q)for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
|
||||||
|
toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \
|
||||||
|
done
|
||||||
$(Q)touch $@
|
$(Q)touch $@
|
||||||
|
|
||||||
# Configuring
|
# Configuring
|
||||||
$(BUILD_DIR)/%/.stamp_configured:
|
$(BUILD_DIR)/%/.stamp_configured:
|
||||||
$(call MESSAGE,"Configuring")
|
$(call MESSAGE,"Configuring")
|
||||||
$(Q)if test "$($(PKG)_AUTORECONF)" = "YES"; then \
|
|
||||||
cd $(@D)/$($(PKG)_SUBDIR) && $(AUTORECONF); \
|
|
||||||
for i in `find $(@D)/$($(PKG)_SUBDIR) -name ltmain.sh`; do \
|
|
||||||
../../toolchain/patch-kernel.sh $${i%/*} ../../package buildroot-libtool.patch; \
|
|
||||||
done \
|
|
||||||
fi
|
|
||||||
cd $(@D)/$($(PKG)_SUBDIR) && rm -f config.cache && \
|
cd $(@D)/$($(PKG)_SUBDIR) && rm -f config.cache && \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
$(TARGET_CONFIGURE_ARGS) \
|
$(TARGET_CONFIGURE_ARGS) \
|
||||||
|
Loading…
Reference in New Issue
Block a user