From eacd69fe0f202b080a88fe05fa7407acf2bf1ea9 Mon Sep 17 00:00:00 2001 From: Tiago Marques Date: Thu, 3 Aug 2017 21:21:39 +0000 Subject: [PATCH] rules/perf/default: Fixed code style. --- rules/perf/default.bash | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/rules/perf/default.bash b/rules/perf/default.bash index 1577e7b..680333a 100644 --- a/rules/perf/default.bash +++ b/rules/perf/default.bash @@ -1,11 +1,25 @@ -version=("3.19") +version=\ +( + "3.19" +) -url=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz") +url=\ +( + "https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz" +) -requires=('flex/host' 'bison/host' 'zlib/default') +requires\= +( + 'flex/host' + 'bison/host' + 'zlib/default' +) # v3.19 -md5=('d3fc8316d4d4d04b65cbc2d70799e763') +md5=\ +( + 'd3fc8316d4d4d04b65cbc2d70799e763' +) #3.14.63 # md5=('6cf8a6b23849f47f511e0e46cfdb6392') @@ -15,14 +29,14 @@ build() cd ../linux-$version/ $cmd_make \ - CROSS_COMPILE="$cfg_target_canonical-" \ - ARCH="$cfg_target_linux" \ - INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ - KBUILD_VERBOSE=1 \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ + CROSS_COMPILE="$cfg_target_canonical-" \ + ARCH="$cfg_target_linux" \ + INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ + KBUILD_VERBOSE=1 \ + DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ NO_LIBELF=1 \ LDFLAGS=-static \ - -C "./tools/perf/" + -C "./tools/perf/" } target_install()