diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-11-22 20:21:24 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-11-22 20:21:24 +0000 |
commit | 907c0740c9fe1663feae2367fdc943eb964479de (patch) | |
tree | d0004b9e1a05f82b3a653123c82cff54b6eef862 /target | |
parent | 8862d9b9ad1c728e3c92b6218d7c99382e689d91 (diff) | |
download | buildroot-novena-907c0740c9fe1663feae2367fdc943eb964479de.tar.gz buildroot-novena-907c0740c9fe1663feae2367fdc943eb964479de.zip |
- fix indentation, second take :(
Diffstat (limited to 'target')
-rw-r--r-- | target/cpio/cpioroot.mk | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/target/cpio/cpioroot.mk b/target/cpio/cpioroot.mk index b98defea3..ce47fba6f 100644 --- a/target/cpio/cpioroot.mk +++ b/target/cpio/cpioroot.mk @@ -10,24 +10,24 @@ cpioroot-init: ln -s sbin/init $(TARGET_DIR)/init cpioroot: host-fakeroot makedevs cpioroot-init - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; - @rm -rf $(TARGET_DIR)/usr/man - @rm -rf $(TARGET_DIR)/usr/info - -/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null - # Use fakeroot to pretend all target binaries are owned by root - rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) - touch $(STAGING_DIR)/.fakeroot.00000 - cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) - echo "chown -R root:root $(TARGET_DIR)" >> $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) - # Use fakeroot to pretend to create all needed device nodes - echo "$(STAGING_DIR)/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \ - >> $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) - # Use fakeroot so tar believes the previous fakery - echo "cd $(TARGET_DIR) && find . | cpio --quiet -o -H newc > $(CPIO_TARGET)" \ - >> $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) - chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) - $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) - #-@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true; + @rm -rf $(TARGET_DIR)/usr/man + @rm -rf $(TARGET_DIR)/usr/info + -/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null + # Use fakeroot to pretend all target binaries are owned by root + rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(TAR_TARGET)) + touch $(STAGING_DIR)/.fakeroot.00000 + cat $(STAGING_DIR)/.fakeroot* > $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) + echo "chown -R root:root $(TARGET_DIR)" >> $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) + # Use fakeroot to pretend to create all needed device nodes + echo "$(STAGING_DIR)/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \ + >> $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) + # Use fakeroot so tar believes the previous fakery + echo "cd $(TARGET_DIR) && find . | cpio --quiet -o -H newc > $(CPIO_TARGET)" \ + >> $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) + chmod a+x $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) + $(STAGING_DIR)/usr/bin/fakeroot -- $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) + #-@rm -f $(STAGING_DIR)/_fakeroot.$(notdir $(CPIO_TARGET)) cpioroot-source: |