git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/ld-acess - Fixed error in x86_64 clone syscall
[tpg/acess2.git]
/
Usermode
/
Libraries
/
ld-acess.so_src
/
Makefile
diff --git
a/Usermode/Libraries/ld-acess.so_src/Makefile
b/Usermode/Libraries/ld-acess.so_src/Makefile
index
4b99ecd
..
178b75e
100644
(file)
--- a/
Usermode/Libraries/ld-acess.so_src/Makefile
+++ b/
Usermode/Libraries/ld-acess.so_src/Makefile
@@
-16,12
+16,14
@@
LDFLAGS = -g -T arch/$(ARCHDIR).ld -Map map.txt --export-dynamic
include ../Makefile.tpl
# create libld-acess.so
include ../Makefile.tpl
# create libld-acess.so
-$(_XBIN): $(_
BIN)
+$(_XBIN): $(_
OBJPREFIX)_stublib.o
@echo [LD] -o -shared libld-acess.so
@echo [LD] -o -shared libld-acess.so
- @$(LD) $(LDFLAGS) -shared -o $@ $(OBJ)
+ $(LD) -shared -o $@ $<
+# @$(LD) $(LDFLAGS) -o $@ $(OBJ)
+
# Override .ao to look in the object prefix for the source
# Override .ao to look in the object prefix for the source
-%.ao: %.
asm
+%.ao: %.
$(ASSUFFIX)
@echo [AS] -o $@
@mkdir -p $(dir $@)
@$(AS) $(ASFLAGS) -o $@ $<
@echo [AS] -o $@
@mkdir -p $(dir $@)
@$(AS) $(ASFLAGS) -o $@ $<
@@
-32,5
+34,5
@@
$(_XBIN): $(_BIN)
$(_OBJPREFIX)%: %.h
@echo [CPP] -o $@
@mkdir -p $(dir $@)
$(_OBJPREFIX)%: %.h
@echo [CPP] -o $@
@mkdir -p $(dir $@)
- @$(CPP) $(CPPFLAGS) -P -D_
ASM
_ $< -o $@
+ @$(CPP) $(CPPFLAGS) -P -D_
_ASSEMBLER_
_ $< -o $@
UCC
git Repository :: git.ucc.asn.au