cramfs.mk 454 B

12345678910111213141516171819
  1. ################################################################################
  2. #
  3. # Build the cramfs root filesystem image
  4. #
  5. ################################################################################
  6. ifeq ($(BR2_ENDIAN),"BIG")
  7. CRAMFS_OPTS = -b
  8. else
  9. CRAMFS_OPTS = -l
  10. endif
  11. define ROOTFS_CRAMFS_CMD
  12. $(HOST_DIR)/usr/bin/mkcramfs $(CRAMFS_OPTS) $(TARGET_DIR) $@
  13. endef
  14. ROOTFS_CRAMFS_DEPENDENCIES = host-cramfs
  15. $(eval $(call ROOTFS_TARGET,cramfs))