From bdb5f1d317066602efdfc9974bd4a05d144a3da5 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 8 Oct 2008 16:31:20 +0000 Subject: [PATCH] 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 --- libs/file/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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/ -- 2.11.0