diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-19 14:47:35 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-19 14:47:35 +0200 |
commit | fe06da781bf153fded6c88012083c07427b74464 (patch) | |
tree | b71f8086c2b618161f492c77abb09cd4a6baea5e /target/tar | |
parent | f5239c327e303a1470829c641bc2d9e28c819d23 (diff) | |
parent | 84a8eafd4cbd103e89194ed1768cc43760ecde3a (diff) | |
download | buildroot-novena-fe06da781bf153fded6c88012083c07427b74464.tar.gz buildroot-novena-fe06da781bf153fded6c88012083c07427b74464.zip |
Merge branch 'huge-cleanup' of git://git.busybox.net/~tpetazzoni/git/buildroot
Diffstat (limited to 'target/tar')
-rw-r--r-- | target/tar/tarroot.mk | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/target/tar/tarroot.mk b/target/tar/tarroot.mk index a62f5bf65..a7e95df98 100644 --- a/target/tar/tarroot.mk +++ b/target/tar/tarroot.mk @@ -25,20 +25,20 @@ ROOTFS_TAR_COPYTO:=$(call qstrip,$(BR2_TARGET_ROOTFS_TAR_COPYTO)) tarroot: host-fakeroot makedevs # 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 - cat $(PROJECT_BUILD_DIR)/.fakeroot* > $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) - echo "chown -R 0:0 $(TARGET_DIR)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + touch $(BUILD_DIR)/.fakeroot.00000 + cat $(BUILD_DIR)/.fakeroot* > $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + echo "chown -R 0:0 $(TARGET_DIR)" >> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) ifneq ($(TARGET_DEVICE_TABLE),) # Use fakeroot to pretend to create all needed device nodes echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \ - >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + >> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) endif # Use fakeroot so tar believes the previous fakery echo "tar -c$(TAR_OPTS)f $(TAR_TARGET) -C $(TARGET_DIR) ." \ - >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) - chmod a+x $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) - $(HOST_DIR)/usr/bin/fakeroot -- $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + >> $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + chmod a+x $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + $(HOST_DIR)/usr/bin/fakeroot -- $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) ifneq ($(TAR_COMPRESSOR),) -rm -f $(TAR_TARGET).$() PATH="$(STAGING_DIR)/sbin:$(STAGING_DIR)/bin:$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/usr/bin:$(PATH)" $(TAR_COMPRESSOR) $(TAR_TARGET) > $(TAR_TARGET).$(TAR_COMPRESSOR_EXT) @@ -46,7 +46,7 @@ endif ifneq ($(ROOTFS_TAR_COPYTO),) $(Q)cp -f $(TAR_TARGET) $(ROOTFS_TAR_COPYTO) endif - -@rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + -@rm -f $(BUILD_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) tarroot-source: |