aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-01-06 02:12:40 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-01-06 02:12:40 +0000
commit480c18e611950bf26bc3ef9d85b5018bc9dc7e22 (patch)
tree21c7633474f89d0c6493bc756d8e9de4445229f8 /package
parentbbc4c104652009f01d9c72278fb30bb69ec83601 (diff)
downloadupstream-480c18e611950bf26bc3ef9d85b5018bc9dc7e22.tar.gz
upstream-480c18e611950bf26bc3ef9d85b5018bc9dc7e22.tar.bz2
upstream-480c18e611950bf26bc3ef9d85b5018bc9dc7e22.zip
fix potential build errors when changing the qc-usb package selection
SVN-Revision: 10124
Diffstat (limited to 'package')
-rw-r--r--package/qc-usb/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/package/qc-usb/Makefile b/package/qc-usb/Makefile
index ff41469b32..47afc8c28b 100644
--- a/package/qc-usb/Makefile
+++ b/package/qc-usb/Makefile
@@ -58,8 +58,7 @@ ifeq ($(KERNEL),2.4)
endif
endif
-ifneq ($(CONFIG_PACKAGE_kmod-video-quickcam),)
- define Build/Compile/kmod
+define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
LINUX_DIR="$(LINUX_DIR)" \
ARCH="$(LINUX_KARCH)" \
@@ -68,11 +67,6 @@ ifneq ($(CONFIG_PACKAGE_kmod-video-quickcam),)
LD="$(TARGET_CC) -nodefaultlibs -nostartfiles" \
USER_OPT="$(KERNEL_C_OPTS)" \
quickcam.$(LINUX_KMOD_SUFFIX)
- endef
-endif
-
-define Build/Compile
- $(call Build/Compile/kmod)
$(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS="$(TARGET_CFLAGS)" \
qcset