summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/pcmcia-cs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/pcmcia-cs/Makefile b/package/pcmcia-cs/Makefile
index 2e312fbf1..1b096fc01 100644
--- a/package/pcmcia-cs/Makefile
+++ b/package/pcmcia-cs/Makefile
@@ -51,6 +51,8 @@ define Build/Configure
endef
define Build/Compile
+ rm -rf $(PKG_INSTALL_DIR)
+ mkdir -p $(PKG_INSTALL_DIR)
$(call Build/Compile/Default, \
CFLAGS="$(TARGET_CFLAGS)" \
all install \