fix pcmcia-cs install (remove previous PKG_INSTALL_DIR)
authorNicolas Thill <nico@openwrt.org>
Thu, 18 Jan 2007 15:14:19 +0000 (15:14 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 18 Jan 2007 15:14:19 +0000 (15:14 +0000)
SVN-Revision: 6126

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 \