- workaround for broken external toolchains
This commit is contained in:
parent
8d41a4be9b
commit
3649fd504d
@ -44,7 +44,7 @@ endif
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
@rm -rf $(TARGET_DIR)/usr/info
|
||||
endif
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
$(if $(TARGET_LDCONFIG),test -x $(TARGET_LDCONFIG) && $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null)
|
||||
# Use fakeroot to pretend all target binaries are owned by root
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
||||
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
||||
|
@ -56,7 +56,7 @@ endif
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
@rm -rf $(TARGET_DIR)/usr/info
|
||||
endif
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
$(if $(TARGET_LDCONFIG),test -x $(TARGET_LDCONFIG) && $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null)
|
||||
# Use fakeroot to pretend all target binaries are owned by root
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(CRAMFS_TARGET))
|
||||
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
||||
|
@ -98,7 +98,7 @@ endif
|
||||
@test -d $(TARGET_DIR)/usr/share && \
|
||||
rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share || \
|
||||
true
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
$(if $(TARGET_LDCONFIG),test -x $(TARGET_LDCONFIG) && $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null)
|
||||
# Use fakeroot to pretend all target binaries are owned by root
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(EXT2_TARGET))
|
||||
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
||||
|
@ -22,7 +22,7 @@ endif
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
rm -rf $(TARGET_DIR)/usr/info
|
||||
endif
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
$(if $(TARGET_LDCONFIG),test -x $(TARGET_LDCONFIG) && $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null)
|
||||
# Use fakeroot to pretend all target binaries are owned by root
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
||||
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
||||
|
@ -58,7 +58,7 @@ ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
@rm -rf $(TARGET_DIR)/usr/info
|
||||
endif
|
||||
@rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
$(if $(TARGET_LDCONFIG),test -x $(TARGET_LDCONFIG) && $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null)
|
||||
# Use fakeroot to pretend all target binaries are owned by root
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(JFFS2_TARGET))
|
||||
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
||||
|
@ -51,7 +51,7 @@ endif
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
@rm -rf $(TARGET_DIR)/usr/info
|
||||
endif
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
$(if $(TARGET_LDCONFIG),test -x $(TARGET_LDCONFIG) && $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null)
|
||||
# Use fakeroot to pretend all target binaries are owned by root
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(SQUASHFS_TARGET))
|
||||
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
||||
|
@ -30,7 +30,7 @@ endif
|
||||
ifneq ($(BR2_HAVE_INFOPAGES),y)
|
||||
@rm -rf $(TARGET_DIR)/usr/info
|
||||
endif
|
||||
$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null
|
||||
$(if $(TARGET_LDCONFIG),test -x $(TARGET_LDCONFIG) && $(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null)
|
||||
# Use fakeroot to pretend all target binaries are owned by root
|
||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET))
|
||||
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
||||
|
Loading…
Reference in New Issue
Block a user