From: nbd Date: Wed, 8 Oct 2008 16:31:20 +0000 (+0000) Subject: work around permission problems in the file package - fixes avr32 compile error X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=bdb5f1d317066602efdfc9974bd4a05d144a3da5;p=packages.git work around permission problems in the file package - fixes avr32 compile error git-svn-id: svn://svn.openwrt.org/openwrt/packages@12910 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/libs/file/Makefile b/libs/file/Makefile index c7b67e398..bbd905a27 100644 --- a/libs/file/Makefile +++ b/libs/file/Makefile @@ -58,6 +58,11 @@ MAKE_FLAGS += \ DESTDIR="$(PKG_INSTALL_DIR)" \ all install \ +define Build/Prepare + $(call Build/Prepare/Default) + chmod -R u+w $(PKG_BUILD_DIR) +endef + define Build/InstallDev mkdir -p $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/magic.h $(1)/usr/include/