linux-fusion: use a more traditional style to define LINUX_FUSION_MAKE_OPTS
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 1 Sep 2015 22:01:13 +0000 (00:01 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 10 Sep 2015 12:03:20 +0000 (14:03 +0200)
Use a single assignment to define the value of LINUX_FUSION_MAKE_OPTS
instead of a sequence of += assignments.

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

index 4d113e73e8666f55985006888becc33c60a57535..ba4bb31448bd83340eb50bdeb9fb8da98660c7fa 100644 (file)
@@ -20,14 +20,14 @@ endif
 
 LINUX_FUSION_ETC_DIR = $(TARGET_DIR)/etc/udev/rules.d
 
-LINUX_FUSION_MAKE_OPTS = KERNEL_VERSION=$(LINUX_VERSION_PROBED)
-LINUX_FUSION_MAKE_OPTS += KERNEL_BUILD=$(LINUX_DIR)
-LINUX_FUSION_MAKE_OPTS += KERNEL_SOURCE=$(LINUX_DIR)
-
-LINUX_FUSION_MAKE_OPTS += SYSROOT=$(TARGET_DIR)
-LINUX_FUSION_MAKE_OPTS += ARCH=$(KERNEL_ARCH)
-LINUX_FUSION_MAKE_OPTS += CROSS_COMPILE=$(TARGET_CROSS)
-LINUX_FUSION_MAKE_OPTS += KERNEL_MODLIB=/lib/modules/$(LINUX_VERSION_PROBED)/kernel
+LINUX_FUSION_MAKE_OPTS = \
+       KERNEL_VERSION=$(LINUX_VERSION_PROBED) \
+       KERNEL_BUILD=$(LINUX_DIR) \
+       KERNEL_SOURCE=$(LINUX_DIR) \
+       SYSROOT=$(TARGET_DIR) \
+       ARCH=$(KERNEL_ARCH) \
+       CROSS_COMPILE=$(TARGET_CROSS) \
+       KERNEL_MODLIB=/lib/modules/$(LINUX_VERSION_PROBED)/kernel
 
 define LINUX_FUSION_BUILD_CMDS
        $(TARGET_CONFIGURE_OPTS) $(MAKE) $(LINUX_FUSION_MAKE_OPTS) -C $(@D)