mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 04:59:27 +08:00
Rename link01 to init01
This commit is contained in:
@@ -4,14 +4,13 @@
|
|||||||
|
|
||||||
include ../../config.inc
|
include ../../config.inc
|
||||||
|
|
||||||
PGM=${ARCH}/link01.exe
|
PGM=${ARCH}/init01.exe
|
||||||
PGM_R=${ARCH}/link01_r.exe
|
|
||||||
|
|
||||||
# optional managers required
|
# optional managers required
|
||||||
MANAGERS=all
|
MANAGERS=all
|
||||||
|
|
||||||
# C source names
|
# C source names
|
||||||
C_FILES = test.c
|
C_FILES = init.c test_main.c
|
||||||
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
||||||
|
|
||||||
AM_CPPFLAGS += -I $(INSTALL_BASE)/include
|
AM_CPPFLAGS += -I $(INSTALL_BASE)/include
|
||||||
@@ -25,12 +24,7 @@ include $(PROJECT_ROOT)/make/leaf.cfg
|
|||||||
OBJS= $(C_O_FILES)
|
OBJS= $(C_O_FILES)
|
||||||
CLEAN_ADDITIONS += undefined.txt
|
CLEAN_ADDITIONS += undefined.txt
|
||||||
|
|
||||||
all: ${ARCH} $(PGM_R) $(PGM)
|
all: ${ARCH} $(PGM)
|
||||||
$(NM) $(PGM_R) | grep "U " >undefined.txt
|
|
||||||
@echo `cat undefined.txt | wc -l` symbols to resolve
|
|
||||||
|
|
||||||
$(PGM): $(OBJS)
|
$(PGM): $(OBJS)
|
||||||
-$(make-exe)
|
-$(make-exe)
|
||||||
|
|
||||||
$(PGM_R): $(OBJS)
|
|
||||||
$(MAKE) -f Makefile_ldr
|
|
Reference in New Issue
Block a user