Changeset View
Changeset View
Standalone View
Standalone View
release/arm/release.sh
Show First 20 Lines • Show All 121 Lines • ▼ Show 20 Lines | eval chroot ${CHROOTDIR} make -C /usr/ports/security/ca_root_nss \ | ||||
OPTIONS_SET="ETCSYMLINK" BATCH=1 FORCE_PKG_REGISTER=1 \ | OPTIONS_SET="ETCSYMLINK" BATCH=1 FORCE_PKG_REGISTER=1 \ | ||||
install clean distclean | install clean distclean | ||||
EMBEDDEDPORTS="${EMBEDDEDPORTS} devel/subversion" | EMBEDDEDPORTS="${EMBEDDEDPORTS} devel/subversion" | ||||
for _PORT in ${EMBEDDEDPORTS}; do | for _PORT in ${EMBEDDEDPORTS}; do | ||||
eval chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \ | eval chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \ | ||||
BATCH=1 FORCE_PKG_REGISTER=1 install clean distclean | BATCH=1 FORCE_PKG_REGISTER=1 install clean distclean | ||||
done | done | ||||
# Certain u-boot versions hardcode the use of a host gcc, and gcc's | |||||
imp: while this will work, you should transition over to using the u-boot ports for the supported… | |||||
# build relies on having gperf installed. | |||||
eval chroot ${CHROOTDIR} make -C /usr/src/gnu/usr.bin/gperf \ | |||||
WITH_GCC=1 ${WORLD_FLAGS} -j1 obj depend all install | |||||
gjbUnsubmitted Not Done Inline ActionsI've tried this exact change, which sadly does not work. Discussed in IRC with imp@, building gcc(1) should not be necessary with the sysutils/u-boot-* ports. gjb: I've tried this exact change, which sadly does not work.
Discussed in IRC with imp@, building… | |||||
Not Done Inline ActionsWithout splitting obj out I get "Warning: Object directory not changed from original /usr/src/gnu/usr.bin/gperf" - i.e., gperf ended up built in the src tree instead of under /usr/obj. emaste: Without splitting obj out I get `"Warning: Object directory not changed from original… | |||||
Not Done Inline ActionsI don't expect this to make a difference, to be honest. When originally trying to build gperf(1) standalone, I did 'make -C /usr/src/gnu/usr.bin/gperf obj depend all install', which resulted in the same failures I've been seeing, which means something is fundamentally broken here. Splitting up the make(1) targets should not be a fix. gjb: I don't expect this to make a difference, to be honest.
When originally trying to build gperf… | |||||
eval chroot ${CHROOTDIR} make -C /usr/src/gnu/usr.bin/cc \ | eval chroot ${CHROOTDIR} make -C /usr/src/gnu/usr.bin/cc \ | ||||
WITH_GCC=1 ${WORLD_FLAGS} -j1 obj depend all install | WITH_GCC=1 ${WORLD_FLAGS} -j1 obj depend all install | ||||
mkdir -p ${CHROOTDIR}/tmp/crochet/work | mkdir -p ${CHROOTDIR}/tmp/crochet/work | ||||
before_build | before_build | ||||
install_crochet | install_crochet | ||||
install_uboot | install_uboot | ||||
eval chroot ${CHROOTDIR} /bin/sh /tmp/crochet/crochet.sh \ | eval chroot ${CHROOTDIR} /bin/sh /tmp/crochet/crochet.sh \ | ||||
Show All 10 Lines |
while this will work, you should transition over to using the u-boot ports for the supported boards, which pulls in the right u-boot and cross compiler...