]> Git Repo - buildroot-mgba.git/blobdiff - package/oprofile/oprofile.mk
package/oprofile: fix static build with binutils >= 2.40
[buildroot-mgba.git] / package / oprofile / oprofile.mk
index 512fbf9ea1eb9a68976b596b31d22f2af5f80e3a..590e63b4ac06a248cc013d463063392507a4bf05 100644 (file)
@@ -12,6 +12,13 @@ OPROFILE_CPE_ID_VENDOR = maynard_johnson
 OPROFILE_CONF_OPTS = \
        --disable-account-check \
        --with-kernel=$(STAGING_DIR)/usr
+# 0002-fix-static-build-with-binutils-2.40.patch
+OPROFILE_AUTORECONF = YES
+
+define OPROFILE_CREATE_MISSING_FILES
+       touch $(@D)/NEWS $(@D)/AUTHORS $(@D)/ChangeLog
+endef
+OPROFILE_POST_EXTRACT_HOOKS += OPROFILE_CREATE_MISSING_FILES
 
 OPROFILE_DEPENDENCIES = popt binutils host-pkgconf
 
This page took 0.027428 seconds and 4 git commands to generate.