Creating directory /var/log/sysstat during install is wrong, as it will corrupt the...
[openwrt/svn-archive/archive.git] / utils / lirc / Makefile
index 8fd3689..6498cb7 100644 (file)
@@ -18,9 +18,6 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=@SF/${PKG_NAME}
 PKG_MD5SUM:=8e78eeded7b31e5ad02e328970437c0f
 
-PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
-PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
-
 include $(INCLUDE_DIR)/package.mk
 
 define  Package/lirc/Default
@@ -115,6 +112,7 @@ endef
 
 MAKE_FLAGS += \
        DESTDIR="$(PKG_INSTALL_DIR)" \
+       ARCH="$(LINUX_KARCH)" \
        all
 
 define  Package/lirc/install