Commit 0572921d authored by Adam Wujek's avatar Adam Wujek

arch-wrs: rename hal_headers into libwr_headers in Makefile

Files added to hal_headers are actually libwr headers.
Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent e616f26c
...@@ -36,18 +36,18 @@ arch-spec-o = $(patsubst %.c,%.o,$(arch-spec-c)) ...@@ -36,18 +36,18 @@ arch-spec-o = $(patsubst %.c,%.o,$(arch-spec-c))
OBJ-y += $(arch-spec-o) OBJ-y += $(arch-spec-o)
# build symbolic links for libwr # build symbolic links for libwr
hal_headers = hal_shmem.h \ libwr_headers = hal_shmem.h \
generic_fsm.h\ generic_fsm.h\
sfp_lib.h\ sfp_lib.h\
util.h\ util.h\
shmem.h \ shmem.h \
timeout.h timeout.h
hal_headers_in_ppsi= $(addprefix $A/include/libwr/,$(hal_headers)) libwr_headers_in_ppsi= $(addprefix $A/include/libwr/,$(libwr_headers))
$(arch-spec-o) : $(hal_headers_in_ppsi) $(arch-spec-o) : $(libwr_headers_in_ppsi)
$(hal_headers_in_ppsi): $(libwr_headers_in_ppsi):
@f=$(notdir $@); \ @f=$(notdir $@); \
echo "Creating symbolic link to $$f";\ echo "Creating symbolic link to $$f";\
ln -sf ../../../../libwr/include/libwr/$$f $@ ln -sf ../../../../libwr/include/libwr/$$f $@
...@@ -77,7 +77,7 @@ OBJ-y += $(MINIPC_LIB) ...@@ -77,7 +77,7 @@ OBJ-y += $(MINIPC_LIB)
all: $(TARGET) all: $(TARGET)
clean:: clean::
rm -f $(hal_headers_in_ppsi) rm -f $(libwr_headers_in_ppsi)
# to build the target, we need -lstd again, in case we call functions that # to build the target, we need -lstd again, in case we call functions that
# were not selected yet (e.g., pp_init_globals() ). # were not selected yet (e.g., pp_init_globals() ).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment