Skip to content

Instantly share code, notes, and snippets.

@themactep
Created October 31, 2023 04:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save themactep/99a3c92f71161dac6fb1c88502d459a7 to your computer and use it in GitHub Desktop.
Save themactep/99a3c92f71161dac6fb1c88502d459a7 to your computer and use it in GitHub Desktop.
#!/bin/sh
BR_OUTPUT_DIR=/path/to/openipc/output
CROSS_PATH=${BR_OUTPUT_DIR}/host/bin
CROSS_COMPILE=$(readlink -f $CROSS_PATH)/mipsel-openipc-linux-musl-
CC=${CROSS_COMPILE}gcc
make ARCH=mips CC="${CC}" \
CROSS_COMPILE="${CROSS_COMPILE}" \
ISVP_ENV_KERNEL_DIR="${BR_OUTPUT_DIR}/build/linux-custom"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment