- minor modifications (only some Makefiles and wrapper definitions) to build lwip for the SCC
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@78 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
440c9a31f7
commit
059867699b
7 changed files with 81 additions and 35 deletions
33
include/stddef.h
Normal file
33
include/stddef.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* Copyright 2010 Stefan Lankes, Chair for Operating Systems,
|
||||
* RWTH Aachen University
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* This file is part of MetalSVM.
|
||||
*/
|
||||
|
||||
#ifndef __ANSI_STDDEF_H__
|
||||
#define __ANSI_STDDEF_H__
|
||||
|
||||
#include <metalsvm/stddef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
33
include/string.h
Normal file
33
include/string.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/*
|
||||
* Copyright 2010 Stefan Lankes, Chair for Operating Systems,
|
||||
* RWTH Aachen University
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* This file is part of MetalSVM.
|
||||
*/
|
||||
|
||||
#ifndef __ANSI_STRING_H__
|
||||
#define __ANSI_STRING_H__
|
||||
|
||||
#include <metalsvm/string.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
|
@ -1,7 +1,7 @@
|
|||
SUBDIRS = src
|
||||
|
||||
defaul:
|
||||
$(MAKE) all
|
||||
default:
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i default; done
|
||||
|
||||
all:
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i all; done
|
||||
|
|
|
@ -6,15 +6,10 @@ OBJS += $(patsubst %.c, %.o, $(filter %.c, $(C_source)))
|
|||
%.o : %.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
default:
|
||||
$(MAKE) all
|
||||
|
||||
all:
|
||||
$(MAKE) $(LIBLWIP)
|
||||
|
||||
$(LIBLWIP): $(OBJS)
|
||||
$(AR) $(ARFLAGS) $(LIBLWIP) $(OBJS)
|
||||
|
||||
default: $(OBJS)
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
clean:
|
||||
$(RM) *.o *~
|
||||
|
||||
|
|
|
@ -7,16 +7,11 @@ OBJS += $(patsubst %.c, %.o, $(filter %.c, $(C_source)))
|
|||
%.o : %.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
default:
|
||||
default: $(OBJS)
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i default; done
|
||||
$(MAKE) all
|
||||
|
||||
all:
|
||||
all: $(OBJS)
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i all; done
|
||||
$(MAKE) $(LIBLWIP)
|
||||
|
||||
$(LIBLWIP): $(OBJS)
|
||||
$(AR) $(ARFLAGS) $(LIBLWIP) $(OBJS)
|
||||
|
||||
clean:
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done
|
||||
|
|
|
@ -6,15 +6,10 @@ OBJS += $(patsubst %.c, %.o, $(filter %.c, $(C_source)))
|
|||
%.o : %.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
default:
|
||||
$(MAKE) all
|
||||
|
||||
all:
|
||||
$(MAKE) $(LIBLWIP)
|
||||
|
||||
$(LIBLWIP): $(OBJS)
|
||||
$(AR) $(ARFLAGS) $(LIBLWIP) $(OBJS)
|
||||
default: $(OBJS)
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
clean:
|
||||
$(RM) *.o *~
|
||||
|
||||
|
|
|
@ -6,15 +6,10 @@ OBJS += $(patsubst %.c, %.o, $(filter %.c, $(C_source)))
|
|||
%.o : %.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
default:
|
||||
$(MAKE) all
|
||||
|
||||
all:
|
||||
$(MAKE) $(LIBLWIP)
|
||||
|
||||
$(LIBLWIP): $(OBJS)
|
||||
$(AR) $(ARFLAGS) $(LIBLWIP) $(OBJS)
|
||||
|
||||
default: $(OBJS)
|
||||
|
||||
all: $(OBJS)
|
||||
|
||||
clean:
|
||||
$(RM) *.o *~
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue