Heat olive oil in a large pot and cook garlic and onions for 1-2 minutes. Add the spices and cook for another minute.
Add squash and sweet potatoes and cook until slightly browned.
Pour stock in the pot to cover the vegetables, bring to a boil and cover. Simmer for about 40 minutes or until vegetables are tender.
Transfer to a blender or use a hand blender and blend until smooth. Add additional broth if needed to get desired consistency. Season with salt and pepper to taste.
Note: You can also use pre-baked squash and sweet potatoes. Roughly chop and add with the vegetable broth.