1. 02 Oct, 2014 1 commit
  2. 14 May, 2014 1 commit
    • Michal Marek's avatar
      firmware: Simplify directory creation · 5180d5f4
      Michal Marek authored
      
      When building the firmware blobs, use a simple loop to create
      directories in $(objtree), like in Makefile.build. This simplifies the
      rules and also makes it possible to set $(objtree) to '.' later. Before
      this change, a dependency on $(objtree)/<dir> would be satisfied by
      <dir> in $(srctree).
      
      When installing the firmware blobs, call mkdir like in Makefile.modinst.
      
      Cc: David Woodhouse <dwmw2@infradead.org>
      Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      5180d5f4
  3. 30 Apr, 2014 1 commit
  4. 15 Oct, 2012 1 commit
  5. 27 Sep, 2012 1 commit
  6. 21 Sep, 2012 1 commit
    • Mark Asselstine's avatar
      firmware: fix directory creation rule matching with make 3.80 · c1c1a59e
      Mark Asselstine authored
      Since make 3.80 doesn't support secondary expansion it uses a fallback
      rule to create firmware directories which is matched after primary
      expansion of the $(installed-fw) rule's prerequisite. Commit
      6c7080a6
      
       [firmware: fix directory creation rule matching with make
      3.82] changed the expression generated after primary expansion such
      that the fallback was not matched. Updating the fallback rule to match
      the new look primary expansion is not an option for various reasons.
      
      The trailing slash added here to $(INSTALL_FW_PATH)/. while defining
      installed-fw-dirs fixes builds with make 3.82 since this will provide
      a matching rule for $(INSTALL_FW_PATH)/$$(dir %) when % is in the base
      firmware directory (ie. $(dir %) gives './'). Versions of make prior
      to 3.82 will strip this trailing slash along with the one generated by
      $(dir %) when % is in the base firmware directory and as such continue
      to function as before.
      Signed-off-by: default avatarMark Asselstine <mark.asselstine@windriver.com>
      Tested-by: default avatarJan Beulich <jbeulich@suse.com>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      c1c1a59e
  7. 30 Aug, 2012 1 commit
    • Mark Asselstine's avatar
      firmware: fix directory creation rule matching with make 3.82 · 6c7080a6
      Mark Asselstine authored
      
      Attempting to run 'firmware_install' with CONFIG_USB_SERIAL_TI=y when
      using make 3.82 results in an error
      
      make[2]: *** No rule to make target `/lib/firmware/./', needed by
      `/lib/firmware/ti_3410.fw'.  Stop.
      
      It turns out make 3.82 is picky when matching directory names with
      trailing slashes as a result, where make 3.81 would handle this
      correctly make 3.82 does not find the rule needed to create the
      directory.
      
      The './' seen in the error is added by $(dir) for firmware which
      resides in the base firmware src directory, such as
      ti_3410.fw.ihex. By performing $(dir) after we prepend the
      $(INSTALL_FW_PATH) we can ensure we don't end up with a './' in the
      middle of the path and the directory will be properly created.
      
      This change works with make 3.81 and should work with previous
      versions as well.
      Signed-off-by: default avatarMark Asselstine <mark.asselstine@windriver.com>
      Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
      6c7080a6
  8. 02 Aug, 2008 1 commit
  9. 25 Jul, 2008 1 commit
  10. 17 Jul, 2008 1 commit
  11. 10 Jul, 2008 2 commits