Skip to content
  • Paul Sokolovsky's avatar
    zephyr: Make sure that generated prj.conf is updated only on content changes. · 736a8a8a
    Paul Sokolovsky authored
    This is a typical problem with make: we want to trigger rebuilds only
    if file actually changed, not if its timestamp changed. In this case,
    it's aggravated by the fact that prj.conf depends on the value of
    BOARD variable, so we need to do some tricks anyway. We still don't
    try to detect if just BOARD changed, just try to generate new
    prj.conf.tmp every time (quick), but do actual replacement of prj.conf
    only if its content changed.
    736a8a8a