firmware: Simplify directory creation
authorMichal Marek <mmarek@suse.cz>
Tue, 29 Apr 2014 09:54:47 +0000 (11:54 +0200)
committerMichal Marek <mmarek@suse.cz>
Wed, 14 May 2014 20:43:04 +0000 (22:43 +0200)
commit5180d5f483486859c0a822c9020ec459f4504b59
tree311341f201df4f2ce9d99a1fd1ed6ffc8aa84bec
parent3fbb43df983acf6f10a122e43e73daf6528ad7ed
firmware: Simplify directory creation

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: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
firmware/Makefile
scripts/Makefile.fwinst