-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As reported in #2 CONFIG_LWIP in stub.mk wasn't properly implemented. This patch fixes CONFIG_LWIP flag and let us remove lwip from the build. This will lead to smaller images sizes and less compilation times. Signed-off-by: Joao Martins <[email protected]>
- Loading branch information
1 parent
1fcf4db
commit 924e55c
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,8 +146,6 @@ MINIOS_OBJS0-y := \ | |
hypervisor.o \ | ||
kernel.o \ | ||
lock.o \ | ||
lwip-arch.o \ | ||
lwip-net.o \ | ||
main.o \ | ||
math.o \ | ||
mm.o \ | ||
|
@@ -159,6 +157,7 @@ MINIOS_OBJS0-y := \ | |
sys.o \ | ||
xencons_ring.o \ | ||
xmalloc.o | ||
MINIOS_OBJS0-$(CONFIG_LWIP) += lwip-arch.o lwip-net.o | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
MINIOS_OBJS0-$(CONFIG_XENBUS) += xenbus.o | ||
MINIOS_OBJS0-$(CONFIG_XENBUS) += xs.o | ||
MINIOS_OBJS0-$(CONFIG_BLKFRONT) += blkfront.o | ||
|
@@ -169,6 +168,7 @@ MINIOS_OBJS0-$(CONFIG_FBFRONT) += fbfront.o | |
MINIOS_OBJS0-$(CONFIG_PCIFRONT) += pcifront.o | ||
MINIOS_OBJS0-$(CONFIG_CONSFRONT) += xencons_bus.o | ||
MINIOS_OBJS0-$(CONFIG_NETFRONT) += netfront.o | ||
MINIOS_OPT_FLAGS-$(CONFIG_LWIP) += -DCONFIG_LWIP | ||
MINIOS_OPT_FLAGS-$(CONFIG_START_NETWORK) += -DCONFIG_START_NETWORK | ||
MINIOS_OPT_FLAGS-$(CONFIG_SPARSE_BSS) += -DCONFIG_SPARSE_BSS | ||
MINIOS_OPT_FLAGS-$(CONFIG_QEMU_XS_ARGS) += -DCONFIG_QEMU_XS_ARGS | ||
|
@@ -387,6 +387,8 @@ distclean-lwip: | |
|
||
else | ||
|
||
CINCLUDES += -isystem $(LWIP_ROOT)/include/lwip | ||
This comment has been minimized.
Sorry, something went wrong.
fmanco
Contributor
|
||
CINCLUDES += -isystem $(LWIP_ROOT)/include/lwip/ipv4 | ||
MINIOS_LWIP_LIB := | ||
MINIOS_LWIP_OBJS := | ||
|
||
|
Split one per line to keep consistency.