Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build with debug disabled #262

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion board/BananaPi-M3/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
UBLDR_LOADADDR=0x42000000
SUNXI_UBOOT="u-boot-sinovoip-bpi-m3"
SUNXI_UBOOT_BIN="u-boot.img"
Expand Down
2 changes: 1 addition & 1 deletion board/BananaPi/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
UBLDR_LOADADDR=0x42000000
SUNXI_UBOOT="u-boot-bananapi"
SUNXI_UBOOT_BIN="u-boot.img"
Expand Down
2 changes: 1 addition & 1 deletion board/BeagleBone/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
BEAGLEBONE_UBOOT_PORT="u-boot-beaglebone"
BEAGLEBONE_UBOOT_BIN="u-boot.img"
BEAGLEBONE_UBOOT_PATH="/usr/local/share/u-boot/${BEAGLEBONE_UBOOT_PORT}"
Expand Down
2 changes: 1 addition & 1 deletion board/BeagleBonePlusRaspberryPi/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
board_setup BeagleBone
board_setup RaspberryPi

KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG

board_partition_image ( ) {
disk_partition_mbr
Expand Down
2 changes: 1 addition & 1 deletion board/Cubieboard2/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
UBLDR_LOADADDR=0x42000000
SUNXI_UBOOT="u-boot-cubieboard2"
SUNXI_UBOOT_BIN="u-boot.img"
Expand Down
2 changes: 1 addition & 1 deletion board/GenericI386/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TARGET_ARCH=i386
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
IMAGE_SIZE=$((600 * 1000 * 1000))

generic_i386_partition_image ( ) {
Expand Down
2 changes: 1 addition & 1 deletion board/OrangePi-One/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
UBLDR_LOADADDR=0x42000000
SUNXI_UBOOT="u-boot-orangepi-one"
SUNXI_UBOOT_BIN="u-boot.img"
Expand Down
2 changes: 1 addition & 1 deletion board/OrangePi-PC-Plus/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
UBLDR_LOADADDR=0x42000000
SUNXI_UBOOT="u-boot-orangepi-pc-plus"
SUNXI_UBOOT_BIN="u-boot.img"
Expand Down
2 changes: 1 addition & 1 deletion board/OrangePi-Plus2E/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
UBLDR_LOADADDR=0x42000000
SUNXI_UBOOT="u-boot-orangepi-plus-2e"
SUNXI_UBOOT_BIN="u-boot.img"
Expand Down
2 changes: 1 addition & 1 deletion board/PandaBoard/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
PANDABOARD_UBOOT_SRC=${TOPDIR}/u-boot-2012.07
IMAGE_SIZE=$((1000 * 1000 * 1000))
TARGET_ARCH=armv6
Expand Down
2 changes: 1 addition & 1 deletion board/Pine64/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
PINE64_UBOOT_PORT="u-boot-pine64"
PINE64_UBOOT_BIN="u-boot-sunxi-with-spl.bin"
PINE64_UBOOT_PATH="/usr/local/share/u-boot/${PINE64_UBOOT_PORT}"
Expand Down
2 changes: 1 addition & 1 deletion board/RaspberryPi2/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
UBLDR_LOADADDR=0x2000000
RPI_UBOOT="u-boot-rpi2"
RPI_UBOOT_BIN="u-boot.bin"
Expand Down
3 changes: 2 additions & 1 deletion board/RaspberryPi3/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
RPI3_UBOOT_PORT="u-boot-rpi3"
RPI3_UBOOT_BIN="u-boot.bin"
RPI3_UBOOT_PATH="${SHARE_PATH}/u-boot/${RPI3_UBOOT_PORT}"
Expand All @@ -7,6 +7,7 @@ RPI_FIRMWARE_BIN="bootcode.bin"
RPI_FIRMWARE_PATH="${SHARE_PATH}/${RPI_FIRMWARE_PORT}"
IMAGE_SIZE=$((3 * 1000 * 1000 * 1000))
TARGET_ARCH=aarch64
TARGET_CPUTYPE=cortex-a53
TARGET=aarch64

# Not used - just in case someone wants to use a manual ubldr. Obtained
Expand Down
3 changes: 2 additions & 1 deletion board/RaspberryPiCM3L/setup.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
RPI3_UBOOT_PORT="u-boot-rpi3"
RPI3_UBOOT_BIN="u-boot.bin"
RPI3_UBOOT_PATH="/usr/local/share/u-boot/${RPI3_UBOOT_PORT}"
IMAGE_SIZE=$((2000 * 1000 * 1000))
TARGET_ARCH=aarch64
TARGET_CPUTYPE=cortex-a53
TARGET=aarch64
DTB_REPO="https://github.com/raspberrypi/firmware/blob/master/boot/"
RPICM3_FIRMWARE_PORT="rpi-firmware"
Expand Down
2 changes: 1 addition & 1 deletion board/VMWareGuest/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TARGET_ARCH=i386
KERNCONF=GENERIC
KERNCONF=GENERIC-NODEBUG
IMAGE_SIZE=$((800 * 1000 * 1000))

. ${LIBDIR}/i386.sh
Expand Down
5 changes: 5 additions & 0 deletions config.sh.sample
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,11 @@
#
#FREEBSD_EXTRA_ARGS=""

# You can build FreeBSD with malloc debug enabled
# by clearing FREEBSD_PRODUCTION_ARGS:
#
#FREEBSD_PRODUCTION_ARGS=""

# Build jobs. The number of make jobs to run in parallel.
# Defaults to: $(sysctl -n hw.ncpu)
#WORLDJOBS="4"
Expand Down
3 changes: 2 additions & 1 deletion lib/freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TARGET_ARCH='needs-to-be-set-by-board-definition'

# Board setup should not touch these, so users can
FREEBSD_SRC=/usr/src
FREEBSD_PRODUCTION_ARGS="-DMALLOC_PRODUCTION"
FREEBSD_EXTRA_ARGS=""
FREEBSD_WORLD_EXTRA_ARGS=""
FREEBSD_BUILDWORLD_EXTRA_ARGS=""
Expand Down Expand Up @@ -206,7 +207,7 @@ if [ -z ${WORLDJOBS} ]; then
else
WORLDJOBS="-j${WORLDJOBS}"
fi
_FREEBSD_WORLD_ARGS="TARGET_ARCH=${TARGET_ARCH} SRCCONF=${SRCCONF} __MAKE_CONF=${__MAKE_CONF} ${FREEBSD_EXTRA_ARGS} ${FREEBSD_WORLD_EXTRA_ARGS} ${FREEBSD_WORLD_BOARD_ARGS}"
_FREEBSD_WORLD_ARGS="TARGET_ARCH=${TARGET_ARCH} SRCCONF=${SRCCONF} __MAKE_CONF=${__MAKE_CONF} ${FREEBSD_PRODUCTION_ARGS} ${FREEBSD_EXTRA_ARGS} ${FREEBSD_WORLD_EXTRA_ARGS} ${FREEBSD_WORLD_BOARD_ARGS}"
if [ -n "${TARGET_CPUTYPE}" ]; then
_FREEBSD_WORLD_ARGS="TARGET_CPUTYPE=${TARGET_CPUTYPE} ${_FREEBSD_WORLD_ARGS}"
fi
Expand Down