Can you please try the steps mentioned in this KBA and let me know if it helps - ‘Make Getlibs’ Command Fails with a Syntax Error in ModusToolbox - KBA229440
Thanks and Regards,
Rakshith M B
It wored fine. As mentioned in the KBA229440, my error was caused double quotation(") in my system path.