mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 19:25:00 +02:00
fix 2.4 build error introduced by changeset:2606
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2613 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5baca13506
commit
8d1840301d
@ -18,6 +18,7 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|||||||
ifeq ($(KERNEL_DIR),)
|
ifeq ($(KERNEL_DIR),)
|
||||||
KERNEL_DIR:=$(LINUX_DIR)
|
KERNEL_DIR:=$(LINUX_DIR)
|
||||||
endif
|
endif
|
||||||
|
KERNEL_VERSION=$(shell echo "$(LINUX_VERSION)" | cut -d. -f1,2)
|
||||||
|
|
||||||
include $(TOPDIR)/package/rules.mk
|
include $(TOPDIR)/package/rules.mk
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ diff -ruN spca5xx-20051105-old/Makefile spca5xx-20051105-new/Makefile
|
|||||||
-# This makefile will build the spca50x driver module external to the kernel
|
-# This makefile will build the spca50x driver module external to the kernel
|
||||||
-# source tree. It makes it easier to swap kernels.
|
-# source tree. It makes it easier to swap kernels.
|
||||||
-
|
-
|
||||||
+CFLAGS += $(DEFINES)
|
+EXTRA_CFLAGS += $(DEFINES)
|
||||||
|
|
||||||
-KERNEL_VERSION = `uname -r`
|
-KERNEL_VERSION = `uname -r`
|
||||||
+spca5xx-objs := drivers/usb/spca5xx.o drivers/usb/spcadecoder.o
|
+spca5xx-objs := drivers/usb/spca5xx.o drivers/usb/spcadecoder.o
|
||||||
|
Loading…
Reference in New Issue
Block a user