diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-07 16:20:53 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-07 16:20:53 +0100 |
commit | f5cd361f8ed711c04768228b319aad0e311b94d8 (patch) | |
tree | 7f208ac87cfbd0191a75a9510da752727ab2cac3 /src | |
parent | 98cc91c44ad67d2bdc557e597866102ae40f611a (diff) |
actually link against libosmocore for the target
Diffstat (limited to 'src')
-rw-r--r-- | src/target/firmware/Makefile | 4 | ||||
-rw-r--r-- | src/target/firmware/Makefile.inc | 2 | ||||
-rw-r--r-- | src/target/firmware/comm/msgb.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/target/firmware/Makefile b/src/target/firmware/Makefile index aef1d42b..bf819e7c 100644 --- a/src/target/firmware/Makefile +++ b/src/target/firmware/Makefile @@ -1,6 +1,6 @@ # Global include path -INCLUDES=-Iinclude/ -I../../../include +INCLUDES=-Iinclude/ -I../../../include -I../../shared/libosmocore/build-target/include # Various objects that are currently linked into all applications FLASH_OBJS=flash/cfi_flash.o @@ -20,7 +20,7 @@ APPLICATIONS=hello_world l1test compal_dump compal_dsp_dump layer1 loader # Things that go in all applications ANY_APP_OBJS+=$(START:.S=.o) $(ABB_OBJS) $(RF_OBJS) $(DISPLAY_OBJS) $(FLASH_OBJS) -ANY_APP_LIBS+=calypso/libcalypso.a layer1/liblayer1.a lib/libmini.a comm/libcomm.a +ANY_APP_LIBS+=calypso/libcalypso.a layer1/liblayer1.a lib/libmini.a comm/libcomm.a ../../shared/libosmocore/build-target/src/.libs/libosmocore.a # Libraries are defined in subdirectories -include calypso/Makefile diff --git a/src/target/firmware/Makefile.inc b/src/target/firmware/Makefile.inc index a42cca47..0d3b8b34 100644 --- a/src/target/firmware/Makefile.inc +++ b/src/target/firmware/Makefile.inc @@ -20,7 +20,7 @@ CFLAGS += -Os -ffunction-sections CFLAGS += -g$(DEBUGF) # Uncomment this line if you want to enable Tx (Transmit) Support. -#CFLAGS += -DCONFIG_TX_ENABLE +CFLAGS += -DCONFIG_TX_ENABLE # some older toolchains don't support this, ignore it for now #ASFLAGS=-Wa,-adhlns=$(<:.S=.lst),--g$(DEBUGF) $(INCLUDES) -D__ASSEMBLY__ diff --git a/src/target/firmware/comm/msgb.c b/src/target/firmware/comm/msgb.c index 499060c3..866fd3c5 100644 --- a/src/target/firmware/comm/msgb.c +++ b/src/target/firmware/comm/msgb.c @@ -36,7 +36,7 @@ void *tall_msgb_ctx; #ifdef NO_TALLOC /* This is a poor mans static allocator for msgb objects */ #define MSGB_DATA_SIZE 256+4 -#define MSGB_NUM 16 +#define MSGB_NUM 32 struct supermsg { uint8_t allocated; struct msgb msg; |