fix potential build errors when changing the qc-usb package selection
authorFelix Fietkau <nbd@openwrt.org>
Sun, 6 Jan 2008 02:12:40 +0000 (02:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 6 Jan 2008 02:12:40 +0000 (02:12 +0000)
SVN-Revision: 10124

package/qc-usb/Makefile

index ff41469..47afc8c 100644 (file)
@@ -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