Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
CFLAGS := $(patsubst -mfunction-return=%,,$(CFLAGS))
endif
-# Set max cache size to 5GB
-CFLAGS += -DDEFAULT_MAXSIZE=5242880
-
###############################################################################
# Top-level Rules
###############################################################################
SYSTEM_RELEASE="${SYSTEM_RELEASE} - Development Build: $GIT_BRANCH/$GIT_LASTCOMMIT$GIT_STATUS"
;;
esac
+
+ # Setup ccache cache size
+ enterchroot ccache --max-size="${CCACHE_CACHE_SIZE}" >/dev/null
}
enterchroot() {
}
# Default settings
+CCACHE_CACHE_SIZE="8G"
ENABLE_RAMDISK="auto"
# Load configuration file