fix pcmcia-cs install (remove previous PKG_INSTALL_DIR)
[openwrt/svn-archive/archive.git] / package / pcmcia-cs / Makefile
index 2e312fb..1b096fc 100644 (file)
@@ -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 \