Fix libuuid header location and reenable building of mkfs.ubifs
[openwrt.git] / tools / libuuid / Makefile
index 672591f..4e6602e 100644 (file)
@@ -36,13 +36,13 @@ define Host/Compile
 endef
 
 define Host/Install
-       $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include}
-       $(CP) $(HOST_BUILD_DIR)/lib/uuid/uuid.h $(STAGING_DIR_HOST)/include/
+       $(INSTALL_DIR) $(STAGING_DIR_HOST)/{lib,include/uuid}
+       $(CP) $(HOST_BUILD_DIR)/lib/uuid/uuid.h $(STAGING_DIR_HOST)/include/uuid/
        $(CP) $(HOST_BUILD_DIR)/lib/uuid/libuuid.{so*,a} $(STAGING_DIR_HOST)/lib/
 endef
 
 define Host/Clean
-       rm -f $(STAGING_DIR_HOST)/include/uuid.h
+       rm -f $(STAGING_DIR_HOST)/include/uuid/uuid.h
        rm -f $(STAGING_DIR_HOST)/lib/uuid/libuuid.{so*,a}
        $(call Host/Clean/Default)
 endef
This page took 0.023407 seconds and 4 git commands to generate.