pebble-dev / RebbleOS

open source operating system for low-power smartwatches
Other
355 stars 38 forks source link

Platform "inherit" support #48

Closed jwise closed 3 years ago

jwise commented 6 years ago

It would be good to be able to produce both a snowy_s3 and snowy_dvt (and snowy_qemu...) without having to hand-write all of the stuff needed in those config.mk files right now. Best would be to be able to do something like:

$(call platform_clone,snowy_dvt,snowy_common)
$(call platform_add,snowy_dvt,snowy_bluetooth)

$(call platform_clone,snowy_qemu,snowy_common)
$(call platform_add,snowy_qemu,qemu_bluetooth)
jwise commented 3 years ago

I did something like this in 7a32d16827a71de7d01226472d98b6f05890f7df.