summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/rules.mk
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-05-12 19:08:03 +0000
committerMike Baker <mbm@openwrt.org>2006-05-12 19:08:03 +0000
commit7e8b5f9c557000110be7911811f144002cce2a29 (patch)
treea872ad00eb8b816b1ea4724f83fd04b3976b8783 /openwrt/target/linux/rules.mk
parent95c94007503f7044d0d220964c52fa291c8903c7 (diff)
downloadmtk-20170518-7e8b5f9c557000110be7911811f144002cce2a29.zip
mtk-20170518-7e8b5f9c557000110be7911811f144002cce2a29.tar.gz
mtk-20170518-7e8b5f9c557000110be7911811f144002cce2a29.tar.bz2
fix BR2_ and CONFIG_ issues
SVN-Revision: 3769
Diffstat (limited to 'openwrt/target/linux/rules.mk')
-rw-r--r--openwrt/target/linux/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/target/linux/rules.mk b/openwrt/target/linux/rules.mk
index 1ebe28b..8490d11 100644
--- a/openwrt/target/linux/rules.mk
+++ b/openwrt/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)
-ifneq ($(BR2_PACKAGE_KMOD_$(1)),)
+ifneq ($(CONFIG_PACKAGE_KMOD_$(1)),)
TARGETS += $$(PKG_$(1))
endif
-ifeq ($(BR2_PACKAGE_KMOD_$(1)),y)
+ifeq ($(CONFIG_PACKAGE_KMOD_$(1)),y)
INSTALL_TARGETS += $$(PKG_$(1))
endif
endif