|
@@ -28,11 +28,16 @@ def create_make_command(keyboard, keymap, target=None):
|
|
|
A command that can be run to make the specified keyboard and keymap
|
|
|
"""
|
|
|
make_args = [keyboard, keymap]
|
|
|
+ make_cmd = 'make'
|
|
|
+
|
|
|
+ platform_id = platform.platform().lower()
|
|
|
+ if 'freebsd' in platform_id:
|
|
|
+ make_cmd = 'gmake'
|
|
|
|
|
|
if target:
|
|
|
make_args.append(target)
|
|
|
|
|
|
- return ['make', ':'.join(make_args)]
|
|
|
+ return [make_cmd, ':'.join(make_args)]
|
|
|
|
|
|
|
|
|
def compile_configurator_json(user_keymap, bootloader=None):
|