User Activity

Hello,When I builed the project, I had seen the Hal drivers files links in the end file *.HEX.How can I change the project configuration not to put this links in file because it use flash memory unnecessarily ?Thanks 
Kudos from
Kudos given to