Be sure things are built and installed just once
This commit is contained in:
parent
4edbe2caa6
commit
9a9de8dec9
|
@ -30,6 +30,7 @@ $(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_DIR)/.unpacked
|
|||
|
||||
$(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY): $(AUTOMAKE_DIR)/.configured
|
||||
$(MAKE) CC=$(TARGET_CC1) -C $(AUTOMAKE_DIR)
|
||||
touch -c $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
|
||||
|
||||
$(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY): $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
|
||||
PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \
|
||||
|
@ -48,6 +49,7 @@ $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY): $(AUTOMAKE_DIR)/$(AUTOMAKE_BINARY)
|
|||
includedir=$(TARGET_DIR)/usr/include \
|
||||
-C $(AUTOMAKE_DIR) install;
|
||||
rm -rf $(TARGET_DIR)/share/locale
|
||||
touch -c $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY)
|
||||
|
||||
automake: uclibc $(TARGET_DIR)/$(AUTOMAKE_TARGET_BINARY)
|
||||
|
||||
|
|
Loading…
Reference in a new issue