oprofile: add dependency on librt, it seems to be needed in some configurations
[openwrt/staging/mkresin.git] / package / devel / oprofile / Makefile
index c5ef6446c9fdbd93568d09d02f0c54df1d1dff71..dd8aa344b41472fbc23f03f27f55e1c2625b1b1f 100644 (file)
@@ -17,9 +17,6 @@ PKG_MD5SUM:=00aec1287da2dfffda17a9b1c0a01868
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
 
-PKG_LICENSE:=GPL-2.0+
-PKG_LICENSE_FILES:=COPYING
-
 PKG_BUILD_DEPENDS:=binutils
 PKG_LICENSE:=GPL-2.0+
 PKG_FIXUP:=autoreconf
@@ -34,7 +31,7 @@ define Package/oprofile
   CATEGORY:=Development
   TITLE:=OProfile System Profiler
   URL:=http://oprofile.sourceforge.net
-  DEPENDS:=+libpopt +kmod-oprofile +libstdcpp +objdump
+  DEPENDS:=+libpopt +kmod-oprofile +libstdcpp +objdump +librt @(!TARGET_uml||BROKEN)
 endef
 
 define Package/oprofile/description