]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - pdk_k2g_1_0_1/packages/ti/board/diag/lcd_touchscreen/build/idkAM572x/armv7/makefile
Change pdk_k2g_1_0_1 directory name in preparation for updating RSTC plugin
[processor-sdk/performance-audio-sr.git] / pdk_k2g_1_0_1 / packages / ti / board / diag / lcd_touchscreen / build / idkAM572x / armv7 / makefile
diff --git a/pdk_k2g_1_0_1/packages/ti/board/diag/lcd_touchscreen/build/idkAM572x/armv7/makefile b/pdk_k2g_1_0_1/packages/ti/board/diag/lcd_touchscreen/build/idkAM572x/armv7/makefile
deleted file mode 100644 (file)
index 601ffb9..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
-#
-#
-#  Redistribution and use in source and binary forms, with or without
-#  modification, are permitted provided that the following conditions
-#  are met:
-#
-#    Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-#
-#    Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in the
-#    documentation and/or other materials provided with the
-#    distribution.
-#
-#    Neither the name of Texas Instruments Incorporated nor the names of
-#    its contributors may be used to endorse or promote products derived
-#    from this software without specific prior written permission.
-#
-#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-#  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-#  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-#  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-#  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-#  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-#  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-#  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-#  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-#  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-# Output directories
-DIAGOBJDIR = $(PDK_DIAG_DIR)/obj/$(BOARD)/$(TARGET)
-DIAGBINDIR = $(PDK_DIAG_DIR)/bin/$(BOARD)/$(TARGET)
-
-# ARMV7 link directory that contain built peripheral libraries
-ARMV7LIBDIR ?= ./lib
-
-# Cross tools
-ifdef TOOLCHAIN_PATH_A15
-# Support backwards compatibility with KeyStone1 approach
- CC = $(TOOLCHAIN_PATH_A15)/bin/$(CROSS_TOOL_PRFX)gcc
- AC = $(TOOLCHAIN_PATH_A15)/bin/$(CROSS_TOOL_PRFX)as
- AR = $(TOOLCHAIN_PATH_A15)/bin/$(CROSS_TOOL_PRFX)ar
- LD = $(TOOLCHAIN_PATH_A15)/bin/$(CROSS_TOOL_PRFX)gcc
-endif
-
-# INCLUDE Directories
-CSL_DIR = $(PDK_INSTALL_PATH)/ti/csl/
-INCDIR := $(CSL_DIR);$(PDK_INSTALL_PATH);$(PDK_DIAG_DIR);$(PDK_DIAG_DIR)/src/$(BOARD)/include
-
-# Libraries
-BOARD_LIB = "$(PDK_DIAG_DIR)/lib/$(BOARD)/armv7/ti.board.aa15fg"
-UART_LIB = "$(PDK_INSTALL_PATH)/ti/drv/uart/lib/armv7/ti.drv.uart.aa15fg"
-I2C_LIB = "$(PDK_INSTALL_PATH)/ti/drv/i2c/lib/armv7/ti.drv.i2c.aa15fg"
-PERIPHERAL_LIB = $(UART_LIB) $(I2C_LIB)
-
-# Compiler options
-INTERNALDEFS = -g -gdwarf-3 -gstrict-dwarf -Wall $(DEBUG_FLAG) -D__ARMv7 -DSOC_$(DEVICE) -mtune=cortex-a15 -march=armv7-a -marm -mfloat-abi=hard -mfpu=neon
-
-# Linker options
-INTERNALLINKDEFS = -mfloat-abi=hard -Wl,--undefined,__aeabi_uidiv -Wl,--undefined,__aeabi_idiv --entry Entry -nostartfiles -static -Wl,--gc-sections -Wl,-T $(PDK_DIAG_DIR)/diag/common/$(DEVICE)/linker.cmd -Wl,--start-group -l"c" -lrdimon -l"m" -l"nosys" $(BOARD_LIB) $(PERIPHERAL_LIB) -Wl,--end-group $(LDFLAGS)
-
-# Executable using device independent library and device object file
-EXE=lcdTouchscreen_diagExample_$(BOARD)_$(TARGET).out
-
-OBJEXT = o
-ASMOBJEXT = ao
-SRCDIR = $(PDK_DIAG_DIR)/diag/lcd_touchscreen/src
-
-INCS = -I. -I$(strip $(subst ;, -I,$(INCDIR)))
-
-VPATH=$(SRCDIR):$(PDK_DIAG_DIR)/diag/common/$(DEVICE):$(PDK_INSTALL_PATH)/ti/drv/uart/soc/am572x:$(PDK_INSTALL_PATH)/ti/drv/i2c/soc/am572x
-
-#List the Source Files
-TEST_SRC = \
-       lcd_touchscreen_test.c \
-
-TEST_SRC_DEV = \
-       diag_osal.c
-
-#Common entry object
-ENTRY_SRC = diag_entry.S
-
-#Common diagnostic source objects
-DIAG_SRC = diag_common_cfg.c
-
-# FLAGS for the SourceFiles
-CFLAGS += -Wall -O2
-SRC_CFLAGS = -I. $(CFLAGS) -g -gdwarf-3 -gstrict-dwarf -Wall 
-
-# Make Rule for the SRC Files
-TEST_SRC_OBJS = $(patsubst %.c, $(DIAGOBJDIR)/%.$(OBJEXT), $(TEST_SRC))
-ENTRY_OBJ = $(patsubst %.S, $(DIAGOBJDIR)/%.$(ASMOBJEXT), $(ENTRY_SRC))
-TEST_SRC_DEV_OBJS = $(patsubst %.c, $(DIAGOBJDIR)/%.$(OBJEXT), $(TEST_SRC_DEV))
-DIAG_SRC_OBJS = $(patsubst %.c, $(DIAGOBJDIR)/%.$(OBJEXT), $(DIAG_SRC))
-
-all:$(DIAGBINDIR)/$(EXE)
-
-$(DIAGBINDIR)/$(EXE): $(TEST_SRC_OBJS) $(TEST_SRC_DEV_OBJS) $(ENTRY_OBJ) $(DIAG_SRC_OBJS) $(DIAGBINDIR)/.created $(DIAGOBJDIR)/.created
-       @echo linking $(TEST_SRC_OBJS) $(TEST_SRC_DEV_OBJS) $(ENTRY_OBJ) $(DIAG_SRC_OBJS) into $@ ...
-       @$(CC) $(TEST_SRC_OBJS) $(TEST_SRC_DEV_OBJS) $(ENTRY_OBJ) $(DIAG_SRC_OBJS) $(INTERNALLINKDEFS) -o $@
-
-$(DIAGOBJDIR)/%.$(OBJEXT): %.c $(DIAGOBJDIR)/.created
-       @echo compiling $< ...
-       @$(CC) -c $(SRC_CFLAGS) $(INTERNALDEFS) $(INCS)  $< -o $@
-
-$(DIAGOBJDIR)/%.$(ASMOBJEXT): %.S $(DIAGOBJDIR)/.created
-       @echo compiling $< ...
-       @$(CC) -c $(SRC_CFLAGS) $(INTERNALDEFS) $(INCS)  $< -o $@
-
-$(DIAGOBJDIR)/.created:
-       @mkdir -p $(DIAGOBJDIR)
-       @touch $(DIAGOBJDIR)/.created
-
-$(DIAGBINDIR)/.created:
-       @mkdir -p $(DIAGBINDIR)
-       @touch $(DIAGBINDIR)/.created
-
-clean:
-       @rm -f $(DIAGBINDIR)/$(EXE)
-       @rm -f $(TEST_SRC_OBJS) $(TEST_SRC_DEV_OBJS) $(ENTRY_OBJ) $(DIAGBINDIR)/.created $(DIAGOBJDIR)/.created