[buildobj] Allow to define specific parameters in _make_type function , closes #124342 [applied]