version 1.5.2.2, 2013/07/21 16:50:58
|
version 1.5.2.3, 2013/08/02 14:46:04
|
Line 195 compile_files()
|
Line 195 compile_files()
|
TARGET_ARCH=${TARGET_ARCH} install DESTDIR=${WORLD} |
TARGET_ARCH=${TARGET_ARCH} install DESTDIR=${WORLD} |
cd - |
cd - |
|
|
# strip -s ${WORLD}/usr/bin/csh | strip -s ${WORLD}/usr/bin/csh |
} |
} |
|
|
compile_tools() |
compile_tools() |
Line 308 compile_tools()
|
Line 308 compile_tools()
|
cd - |
cd - |
} |
} |
|
|
|
install_tools() |
|
{ |
|
LIBS="${ROMFS_USR2}/lib" |
|
LIBEXEC="${ROMFS_USR2}/libexec" |
|
BIN="${ROMFS_USR2}/bin" |
|
SBIN="${ROMFS_USR2}/sbin" |
|
ETC="${ROMFS_USR2}/etc" |
|
|
|
echo "+++ Install ELWIX RomFS secondary firmware ..." |
|
|
|
StripFiles \*.so\* ${PKG}/lib |
|
InstallFiles \*.so\* ${PKG}/lib $LIBS |
|
StripFiles \* ${PKG}/libexec |
|
InstallFiles \* ${PKG}/libexec $LIBEXEC |
|
StripFiles \* ${PKG}/bin |
|
InstallFiles \* ${PKG}/bin $BIN |
|
StripFiles \* ${PKG}/sbin |
|
InstallFiles \* ${PKG}/sbin $SBIN |
|
|
|
InstallFiles \* ${PKG}/etc $ETC |
|
|
|
chown -R root:wheel $SBIN $BIN $LIBDATA $LIBEXEC $LIBS |
|
} |
|
|
|
build_tools() |
|
{ |
|
echo "+++ Build ELWIX core firmware image ..." |
|
|
|
cd ${WORLD}/usr/local |
|
pax -w -z -v -f${REL}/${LOCALFS_IMG} . |
|
cd - |
|
} |
|
|
### main() |
### main() |
if ! SnitVer ${WORLD}/elwix/elwix.ver; then |
if ! SnitVer ${WORLD}/elwix/elwix.ver; then |
compile_deps || exit 1 |
compile_deps || exit 1 |
Line 324 if ! SnitVer ${WORLD}/usr/local/elwix.ver; then
|
Line 357 if ! SnitVer ${WORLD}/usr/local/elwix.ver; then
|
compile_fbsdtools |
compile_fbsdtools |
compile_files |
compile_files |
compile_tools |
compile_tools |
|
build_tools |
|
|
echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${WORLD}/usr/local/elwix.ver |
echo "ELWIX Platform:${PLATFORM} Version:${VERSION} TargetArch:${TARGET_ARCH}" >${WORLD}/usr/local/elwix.ver |
else |
else |