projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61ea39
)
[package] fix mtd-utils compilation with 2.4 kernels (#6985)
author
Florian Fainelli
<florian@openwrt.org>
Mon, 29 Mar 2010 20:39:46 +0000
(20:39 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Mon, 29 Mar 2010 20:39:46 +0000
(20:39 +0000)
SVN-Revision: 20586
utils/mtd-utils/Makefile
patch
|
blob
|
history
diff --git
a/utils/mtd-utils/Makefile
b/utils/mtd-utils/Makefile
index 098cc2a0a60cc4f5f3a146e11f7692cc5d8c80f5..04b7524794ab95173e7cf9aed47f7967200742d5 100644
(file)
--- a/
utils/mtd-utils/Makefile
+++ b/
utils/mtd-utils/Makefile
@@
-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/