1. 02 10月, 2014 1 次提交
  2. 15 5月, 2014 1 次提交
    • M
      firmware: Simplify directory creation · 5180d5f4
      Michal Marek 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      5180d5f4
  3. 30 4月, 2014 1 次提交
  4. 16 10月, 2012 1 次提交
  5. 27 9月, 2012 1 次提交
  6. 21 9月, 2012 1 次提交
    • M
      firmware: fix directory creation rule matching with make 3.80 · c1c1a59e
      Mark Asselstine 提交于
      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: NMark Asselstine <mark.asselstine@windriver.com>
      Tested-by: NJan Beulich <jbeulich@suse.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      c1c1a59e
  7. 30 8月, 2012 1 次提交
    • M
      firmware: fix directory creation rule matching with make 3.82 · 6c7080a6
      Mark Asselstine 提交于
      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: NMark Asselstine <mark.asselstine@windriver.com>
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      6c7080a6
  8. 02 8月, 2008 1 次提交
  9. 26 7月, 2008 1 次提交
  10. 18 7月, 2008 1 次提交
  11. 10 7月, 2008 2 次提交