build: rename non-generated linker scripts to .ld extension
Avoids confusion with .gitignore rules, which were inadequate to cover all the places where these files are found. At least in VIM, these files are now syntax highlighted correctly. Change-Id: I23810b0ed34129320cc2760e19ed1a610afe039e Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
bc5497f239
commit
ff872dc349
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -5,7 +5,6 @@
|
|||
*.pyc
|
||||
*.swp
|
||||
*.swo
|
||||
!arch/*/*/**/*.cmd
|
||||
*~
|
||||
cscope.*
|
||||
.dir
|
||||
|
|
4
Makefile
4
Makefile
|
@ -710,11 +710,11 @@ ifdef CONFIG_HAVE_CUSTOM_LINKER_SCRIPT
|
|||
KBUILD_LDS := $(subst $(DQUOTE),,$(CONFIG_CUSTOM_LINKER_SCRIPT))
|
||||
else
|
||||
# Try a board specific linker file
|
||||
KBUILD_LDS := $(srctree)/boards/$(BOARD_NAME)/linker.cmd
|
||||
KBUILD_LDS := $(srctree)/boards/$(BOARD_NAME)/linker.ld
|
||||
|
||||
# If not available, try an SoC specific linker file
|
||||
ifeq ($(wildcard $(KBUILD_LDS)),)
|
||||
KBUILD_LDS := $(srctree)/arch/$(ARCH)/soc/$(SOC_PATH)/linker.cmd
|
||||
KBUILD_LDS := $(srctree)/arch/$(ARCH)/soc/$(SOC_PATH)/linker.ld
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ config BOARD
|
|||
help
|
||||
This option holds the name of the board and is used to located the files
|
||||
related to the board in the source tree (under boards/).
|
||||
The Board is the first location where we search for a linker.cmd file,
|
||||
The Board is the first location where we search for a linker.ld file,
|
||||
if not found we look for the linker file in
|
||||
arch/<arch>/soc/<family>/<series>
|
||||
|
||||
|
|
|
@ -36,4 +36,4 @@
|
|||
#define DCCM_START CONFIG_DCCM_BASE_ADDRESS
|
||||
#define DCCM_SIZE CONFIG_DCCM_SIZE
|
||||
|
||||
#include <arch/arc/v2/linker.cmd>
|
||||
#include <arch/arc/v2/linker.ld>
|
|
@ -1,4 +1,4 @@
|
|||
/* linker.cmd - Linker command/script file */
|
||||
/* linker.ld - Linker command/script file */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
||||
|
@ -16,4 +16,4 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <arch/arm/cortex_m/scripts/linker.cmd>
|
||||
#include <arch/arm/cortex_m/scripts/linker.ld>
|
|
@ -38,4 +38,4 @@
|
|||
#define SKIP_TO_SECURITY_FRDM_K64F . = 0x400;
|
||||
#endif
|
||||
|
||||
#include <arch/arm/cortex_m/scripts/linker.cmd>
|
||||
#include <arch/arm/cortex_m/scripts/linker.ld>
|
|
@ -1,4 +1,4 @@
|
|||
/* linker.cmd - Linker command/script file */
|
||||
/* linker.ld - Linker command/script file */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2014-2016 Wind River Systems, Inc.
|
||||
|
@ -16,4 +16,4 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <arch/arm/cortex_m/scripts/linker.cmd>
|
||||
#include <arch/arm/cortex_m/scripts/linker.ld>
|
|
@ -1,4 +1,4 @@
|
|||
/* linker.cmd - Linker command/script file */
|
||||
/* linker.ld - Linker command/script file */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2014 Wind River Systems, Inc.
|
||||
|
@ -16,4 +16,4 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <arch/arm/cortex_m/scripts/linker.cmd>
|
||||
#include <arch/arm/cortex_m/scripts/linker.ld>
|
|
@ -18,4 +18,4 @@
|
|||
* @brief Linker script for the Nios II/e CPU with timer and 16550 UART
|
||||
*/
|
||||
|
||||
#include <arch/nios2/linker.cmd>
|
||||
#include <arch/nios2/linker.ld>
|
Loading…
Reference in a new issue