linux-fusion: use a more traditional style to define LINUX_FUSION_MAKE_OPTS
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>
This commit is contained in:
parent
96b785ee9d
commit
e2fc084c67
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user