From: Nicolas Thill Date: Fri, 11 Nov 2005 17:36:11 +0000 (+0000) Subject: create /lib/modules dir only when necessary X-Git-Tag: whiterussian_rc4~50 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=00e2091226fb4585d45365169eb1582d6c0b9064;p=openwrt%2Fsvn-archive%2Fopenwrt.git create /lib/modules dir only when necessary SVN-Revision: 2423 --- diff --git a/openwrt/target/linux/rules.mk b/openwrt/target/linux/rules.mk index 01987aaf17..ec906fe186 100644 --- a/openwrt/target/linux/rules.mk +++ b/openwrt/target/linux/rules.mk @@ -21,10 +21,10 @@ endif $$(PKG_$(1)): $(LINUX_DIR)/.modules_done rm -rf $$(I_$(1)) - mkdir -p $$(I_$(1))/lib/modules/$(LINUX_VERSION) $(SCRIPT_DIR)/make-ipkg-dir.sh $$(I_$(1)) ../control/kmod-$(2).control $(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE) $(ARCH) echo "Depends: $$(IDEPEND_$(1))" >> $$(I_$(1))/CONTROL/control ifneq ($(strip $(3)),) + mkdir -p $$(I_$(1))/lib/modules/$(LINUX_VERSION) cp $(3) $$(I_$(1))/lib/modules/$(LINUX_VERSION) endif ifneq ($(6),)