mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
userspace/utest: comment out build and linking commands in Makefile
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
b54a32ba7a
commit
f5a813380b
@ -11,14 +11,14 @@ FILENAME = $(notdir $(shell pwd))
|
|||||||
WARNCFLAG = -Wall -Wextra
|
WARNCFLAG = -Wall -Wextra
|
||||||
|
|
||||||
build: $(FILENAME).elf
|
build: $(FILENAME).elf
|
||||||
cp $(FILENAME).elf $(WORKSPACE_DIR)/out/bin/$(FILENAME)
|
# cp $(FILENAME).elf $(WORKSPACE_DIR)/out/bin/$(FILENAME)
|
||||||
|
|
||||||
# Use static linking
|
# Use static linking
|
||||||
LDFLAGS += -static -fno-pic -fno-pie -Wl,-static
|
LDFLAGS += -static -fno-pic -fno-pie -Wl,-static
|
||||||
|
|
||||||
$(FILENAME).elf: $(OBJ)
|
$(FILENAME).elf: $(OBJ)
|
||||||
$(info Linking $@)
|
$(info Linking $@)
|
||||||
$(CC) $(LDFLAGS) $(SYSROOT) $(OBJ) -o $@
|
# $(CC) $(LDFLAGS) $(SYSROOT) $(OBJ) -o $@
|
||||||
|
|
||||||
%.o: %.c $(HEADERS)
|
%.o: %.c $(HEADERS)
|
||||||
$(info Compiling $<)
|
$(info Compiling $<)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user