[package] wprobe: use a shared DEPENDS between packages, mark them as BROKEN on ps3...
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 18 Dec 2009 10:51:10 +0000 (10:51 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 18 Dec 2009 10:51:10 +0000 (10:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18813 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/wprobe/Makefile

index 536a85e..786a39d 100644 (file)
@@ -18,9 +18,13 @@ PKG_CONFIG_DEPENDS = \
 
 include $(INCLUDE_DIR)/package.mk
 
 
 include $(INCLUDE_DIR)/package.mk
 
+define Package/wprobe/Default
+  DEPENDS:=@LINUX_2_6 @(!(TARGET_ps3||TARGET_pxcab)||BROKEN)
+endef
+
 define KernelPackage/wprobe
 define KernelPackage/wprobe
+$(call Package/wprobe/Default)
   SUBMENU:=Network Support
   SUBMENU:=Network Support
-  DEPENDS:=@LINUX_2_6
   TITLE:=Wireless driver probe infrastructure
   FILES:= \
        $(PKG_BUILD_DIR)/kernel/wprobe.$(LINUX_KMOD_SUFFIX)
   TITLE:=Wireless driver probe infrastructure
   FILES:= \
        $(PKG_BUILD_DIR)/kernel/wprobe.$(LINUX_KMOD_SUFFIX)
@@ -32,9 +36,10 @@ define KernelPackage/wprobe/description
 endef
 
 define Package/wprobe-util
 endef
 
 define Package/wprobe-util
+$(call Package/wprobe/Default)
   SECTION:=net
   CATEGORY:=Network
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+kmod-wprobe +libnl-tiny
+  DEPENDS+=+kmod-wprobe +libnl-tiny
   TITLE:=Wireless measurement utility
 endef
 
   TITLE:=Wireless measurement utility
 endef
 
@@ -44,9 +49,10 @@ define Package/wprobe-util/description
 endef
 
 define Package/wprobe-export
 endef
 
 define Package/wprobe-export
+$(call Package/wprobe/Default)
   SECTION:=net
   CATEGORY:=Network
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:=+wprobe-util
+  DEPENDS+=+wprobe-util
   TITLE:=Wireless measurement data exporter
 endef
 
   TITLE:=Wireless measurement data exporter
 endef
 
This page took 0.029427 seconds and 4 git commands to generate.