[package] fix mtd-utils compilation with 2.4 kernels (#6985)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20586 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-03-29 20:39:46 +00:00
parent 223ecdb0d7
commit 801369c73f

View File

@ -38,6 +38,11 @@ MAKE_FLAGS += \
BUILDDIR="$(PKG_BUILD_DIR)" \
WITHOUT_XATTR=1
ifeq ($(CONFIG_LINUX_2_4),y)
MAKE_FLAGS += \
SUBDIRS=""
endif
define Package/mtd-utils/install
$(INSTALL_DIR) $(1)/usr/sbin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/* $(1)/usr/sbin/