oprofile: cleanup the style of the OPROFILE_BINARIES definition
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 29 Dec 2014 11:05:13 +0000 (12:05 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 30 Dec 2014 23:25:28 +0000 (00:25 +0100)
There is no need to repeat OPROFILE_BINARIES += many times to add more
values to the variable. Just define it once with all the values, as we
do everywhere else in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/oprofile/oprofile.mk

index 0c884b9b7e4968970148029496139640263eb1ef..1322d9d695dd8f6b930b16ce9711a2fee739b06a 100644 (file)
@@ -12,10 +12,12 @@ OPROFILE_CONF_OPTS = \
        --disable-account-check \
        --enable-gui=no \
        --with-kernel=$(STAGING_DIR)/usr
-OPROFILE_BINARIES = utils/ophelp pp/opannotate pp/oparchive pp/opgprof
-OPROFILE_BINARIES += pp/opreport opjitconv/opjitconv
-OPROFILE_BINARIES += utils/op-check-perfevents libabi/opimport
-OPROFILE_BINARIES += pe_counting/ocount
+
+OPROFILE_BINARIES = \
+       utils/ophelp pp/opannotate pp/oparchive pp/opgprof \
+       pp/opreport opjitconv/opjitconv \
+       utils/op-check-perfevents libabi/opimport \
+       pe_counting/ocount
 
 # No perf_events support in kernel for avr32
 ifneq ($(BR2_avr32),y)