From c1454ed8d379b10869274f54e03be5b08ccc0edf Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Fri, 16 Aug 2019 13:36:22 +0300 Subject: baremetal: Fix IAR assembler file tags The IAR EW IDE provides the following file patterns [*.s*, *.msa, *.asm] for the assembler files. So, we will use same patterns too. But, instead of '*.s*' pattern we will use a set of the following patterns: '*.s' - for ARM and/or STM8 architectures. '*.s43' - for MSP430 architecture. '*.s51' - for 8051 architecture. '*.s90' - for AVR architecture. Change-Id: I5aad9ee7a81325e65be18d0ae0e0c1c9a9f6cf27 Reviewed-by: Christian Kandeler --- share/qbs/modules/cpp/iar.qbs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/share/qbs/modules/cpp/iar.qbs b/share/qbs/modules/cpp/iar.qbs index 47cdff0ed..8140a8e73 100644 --- a/share/qbs/modules/cpp/iar.qbs +++ b/share/qbs/modules/cpp/iar.qbs @@ -116,14 +116,7 @@ CppModule { } FileTagger { - condition: qbs.architecture === "arm" || qbs.architecture === "stm8"; - patterns: "*.s" - fileTags: ["asm"] - } - - FileTagger { - condition: qbs.architecture === "mcs51"; - patterns: ["*.s51", "*.asm"] + patterns: ["*.s", "*.s43", "*.s51", "*.s90", "*.msa", "*.asm"] fileTags: ["asm"] } -- cgit v1.2.3