projects
/
10.03
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix BR2_ and CONFIG_ issues
[10.03/openwrt.git]
/
target
/
linux
/
rules.mk
diff --git
a/target/linux/rules.mk
b/target/linux/rules.mk
index
1ebe28b
..
8490d11
100644
(file)
--- a/
target/linux/rules.mk
+++ b/
target/linux/rules.mk
@@
-54,10
+54,10
@@
PKG_$(1) := $(PACKAGE_DIR)/kmod-$(2)_$(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE)_
I_$(1) := $(KMOD_BUILD_DIR)/ipkg/$(2)
ifeq ($$(KDEPEND_$(1)),m)
I_$(1) := $(KMOD_BUILD_DIR)/ipkg/$(2)
ifeq ($$(KDEPEND_$(1)),m)
-ifneq ($(
BR2
_PACKAGE_KMOD_$(1)),)
+ifneq ($(
CONFIG
_PACKAGE_KMOD_$(1)),)
TARGETS += $$(PKG_$(1))
endif
TARGETS += $$(PKG_$(1))
endif
-ifeq ($(
BR2
_PACKAGE_KMOD_$(1)),y)
+ifeq ($(
CONFIG
_PACKAGE_KMOD_$(1)),y)
INSTALL_TARGETS += $$(PKG_$(1))
endif
endif
INSTALL_TARGETS += $$(PKG_$(1))
endif
endif