summaryrefslogtreecommitdiff
path: root/Cmds
diff options
context:
space:
mode:
Diffstat (limited to 'Cmds')
-rw-r--r--Cmds7
1 files changed, 6 insertions, 1 deletions
diff --git a/Cmds b/Cmds
index 7167e0c..159939e 100644
--- a/Cmds
+++ b/Cmds
@@ -29,7 +29,12 @@ ifeq ("$(origin PREFIX)", "command line")
INSTX = echo -e " INST\t$(1)" && install -d $(2) && \
install -C $(1) $(2)/$(shell basename $(1))
else
- INSTX = echo -e " INST\t$(1)" && install -C $(1) $(2)/$(shell basename $(1))
+ ifeq ("$(origin PREFIX)", "file")
+ INSTX = echo -e " INST\t$(1)" && install -d $(2) && \
+ install -C $(1) $(2)/$(shell basename $(1))
+ else
+ INSTX = echo -e " INST\t$(1)" && install -C $(1) $(2)/$(shell basename $(1))
+ endif
endif
MKDIR = echo -e " MKDIR\t$(1)" && mkdir -p $(1)
orrectly. Note that for CTR, this is only done if the request is a round multiple of the block size, since otherwise, chaining is impossible anyway. Cc: <stable@vger.kernel.org> # v3.16+ Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/usb/host/u132-hcd.c')