Till peas perhaps to make them sweet (8)
I believe the answer is:
pastille
'sweet' is the definition.
(pastille is a kind of sweet)
'till peas perhaps' is the wordplay.
'perhaps' indicates anagramming the letters.
'till'+'peas'='tillpeas'
'tillpeas' is an anagram of 'PASTILLE'.
'to make them' is the link.
I am not very happy about this link. Some or all of it may be part of another bit of the clue.
Can you help me to learn more?
(Other definitions for pastille that I've seen before include "Small, often medicated, sweet" , "Lozenge, to soothe the throat perhaps" , "Flavoured sweet for sucking" , "Small sweet/lozenge" , "tablet" .)