fix potential build errors when changing the qc-usb package selection

SVN-Revision: 10124
owl
Felix Fietkau 2008-01-06 02:12:40 +00:00
parent bbc4c10465
commit 480c18e611
1 changed files with 1 additions and 7 deletions

View File

@ -58,8 +58,7 @@ ifeq ($(KERNEL),2.4)
endif endif
endif endif
ifneq ($(CONFIG_PACKAGE_kmod-video-quickcam),) define Build/Compile
define Build/Compile/kmod
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
LINUX_DIR="$(LINUX_DIR)" \ LINUX_DIR="$(LINUX_DIR)" \
ARCH="$(LINUX_KARCH)" \ ARCH="$(LINUX_KARCH)" \
@ -68,11 +67,6 @@ ifneq ($(CONFIG_PACKAGE_kmod-video-quickcam),)
LD="$(TARGET_CC) -nodefaultlibs -nostartfiles" \ LD="$(TARGET_CC) -nodefaultlibs -nostartfiles" \
USER_OPT="$(KERNEL_C_OPTS)" \ USER_OPT="$(KERNEL_C_OPTS)" \
quickcam.$(LINUX_KMOD_SUFFIX) quickcam.$(LINUX_KMOD_SUFFIX)
endef
endif
define Build/Compile
$(call Build/Compile/kmod)
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
CFLAGS="$(TARGET_CFLAGS)" \ CFLAGS="$(TARGET_CFLAGS)" \
qcset qcset