]> git.openpandora.org Git - openembedded.git/commitdiff
pvrusb2-mci: also pass TARGET_CFLAGS to the make command in order to get all comnpile...
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>
Sat, 5 Nov 2005 21:33:13 +0000 (21:33 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 5 Nov 2005 21:33:13 +0000 (21:33 +0000)
  (actually this is not really satisfying as it should pick this up from the
   kernel config, but it doesn't and despite several hours of debugging I did
   not manage to find the cause. This patch works around the problem)

openembedded/packages/pvrusb2-mci/pvrusb2-mci-20051016/Makefile.patch
openembedded/packages/pvrusb2-mci/pvrusb2-mci_20051016.bb

index 829c741b696e500dbcc4ad44a264f21a5637750d..b79c42e2c53cd7e48186d84ee7b0c7c46f585ac7 100644 (file)
@@ -5,11 +5,11 @@
  
    modules modules_install clean:
 -      $(MAKE) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) -C $(KDIR) M=$(shell pwd) $@
-+      $(MAKE) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) CFLAGS="$(CFLAGS)" -C $(KDIR) M=$(shell pwd) $@
++      $(MAKE) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) CFLAGS="$(CFLAGS) $(TARGET_CFLAGS)" -C $(KDIR) M=$(shell pwd) $@
  
    install:
 -      $(MAKE) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) -C $(KDIR) M=$(shell pwd) modules_install
-+      $(MAKE) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) CFLAGS="$(CFLAGS)" -C $(KDIR) M=$(shell pwd) modules_install
++      $(MAKE) INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) CFLAGS="$(CFLAGS) $(TARGET_CFLAGS)" -C $(KDIR) M=$(shell pwd) modules_install
  
  else
  
index 6b27baf17bb18bf2026c308bc5c8616d8d66e628..bd3362c730875895fb550e44db9e2d3986234951 100644 (file)
@@ -3,7 +3,7 @@ PRIORITY = "optional"
 SECTION = "kernel/modules"
 MAINTAINER = "dyoung <dyoung@thestuffguy.com>"
 LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
 # It in fact requires these modules, but for now is using the local ones.
 # RDEPENDS = "kernel-module-tveeprom kernel-module-tuner kernel-module-msp3400 kernel-module-saa7115"