mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 03:53:35 +08:00
The ELF loader is basically functional (needs more testing)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5265 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
-include $(TOPDIR)/.config
|
||||
-include $(TOPDIR)/Make.defs
|
||||
|
||||
CFLAGS += -I.
|
||||
CELFFLAGS += -I.
|
||||
|
||||
BIN = struct
|
||||
SRCS = struct_main.c struct_dummy.c
|
||||
@@ -46,7 +46,7 @@ all: $(BIN)
|
||||
|
||||
$(OBJS): %.o: %.c
|
||||
@echo "CC: $<"
|
||||
@$(CC) -c $(CFLAGS) $< -o $@
|
||||
@$(CC) -c $(CELFFLAGS) $< -o $@
|
||||
|
||||
$(BIN): $(OBJS)
|
||||
@echo "LD: $<"
|
||||
|
||||
Reference in New Issue
Block a user