From 5f42c04924636ea532a46dd523a00ffcaddc7955 Mon Sep 17 00:00:00 2001 From: hadaq Date: Mon, 10 Oct 2011 20:03:58 +0000 Subject: [PATCH] update symlink pexor --- libtrbnet/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libtrbnet/Makefile b/libtrbnet/Makefile index f7de9e5..bcbab23 100644 --- a/libtrbnet/Makefile +++ b/libtrbnet/Makefile @@ -1,5 +1,4 @@ # ------------ Compiler / Linker Options ------------------------------- - ifdef AXIS_TOP_DIR AXIS_USABLE_LIBS = UCLIBC GLIBC include $(AXIS_TOP_DIR)/tools/build/Rules.axis @@ -83,6 +82,7 @@ clean: .PHONY: distclean distclean: clean rm -f $(TARGETS) $(LIB_TARGETS) + find . -type l -exec rm {} \; rcsclean -u .PHONY: depend @@ -91,9 +91,16 @@ depend: # ------------ Dependencies -------------------------------------------- -trberror.o: trberror.c trberror.h +ifndef AXIS_TOP_DIR +pexor_user.h: + ln -s ../pexor/kernel-module/pexor_user.h trbnet.o: trbnet.c trberror.h trbnet.h pexor_user.h +else +trbnet.o: trbnet.c trberror.h trbnet.h +endif + +trberror.o: trberror.c trberror.h libtrbnet.a: trberror.o trbnet.o @@ -107,3 +114,4 @@ trbdhcp.o: trbdhcp.c trbnet.h trberror.h trbflash: trbflash.o libtrbnet.a trbflash.o: trbflash.c + -- 2.43.0