mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 06:26:46 +08:00
Makefile: sparc/sis builds again
+ sparc did not really have a unique in_cksum.c and Makefile needed to be adjusted to reflect this + some destination directories for copied files did not exist. make the destination directory before copying. This is really not a great thing to do as it messes with the source tree but it works for now. It would be better to make a special place to put generated source and integrate that into the build system.
This commit is contained in:
@@ -427,6 +427,7 @@ class ModuleManager:
|
||||
'# The following targets use the MIPS Generic in_cksum routine\n'
|
||||
for cpu in CPUsNeedingGenericIncksum:
|
||||
data += 'rtemsbsd/' + cpu + '/' + cpu + '/in_cksum.c: freebsd/mips/mips/in_cksum.c\n' \
|
||||
'\ttest -d rtemsbsd/' + cpu + '/' + cpu + '|| mkdir -p rtemsbsd/' + cpu + '/' + cpu + '\n' \
|
||||
'\tcp $< $@\n' \
|
||||
'\n' \
|
||||
'rtemsbsd/' + cpu + '/include/freebsd/machine/in_cksum.h: freebsd/mips/include/freebsd/machine/in_cksum.h\n' \
|
||||
@@ -445,7 +446,6 @@ class ModuleManager:
|
||||
'CPU_SED += -e \'/i386/d\'\n' \
|
||||
'CPU_SED += -e \'/powerpc/d\'\n' \
|
||||
'CPU_SED += -e \'/mips/d\'\n' \
|
||||
'CPU_SED += -e \'/sparc/d\'\n' \
|
||||
'CPU_SED += -e \'/sparc64/d\'\n' \
|
||||
'\n' \
|
||||
'install: $(LIB) install_bsd lib_user install_user\n' \
|
||||
@@ -2104,7 +2104,6 @@ pf.addSourceFiles(
|
||||
in_cksum = Module('in_cksum')
|
||||
in_cksum.addRTEMSHeaderFiles(
|
||||
[
|
||||
'sparc/include/freebsd/machine/in_cksum.h',
|
||||
]
|
||||
)
|
||||
in_cksum.addCPUDependentHeaderFiles(
|
||||
|
Reference in New Issue
Block a user