env.mk 355 B

12345678910111213141516
  1. export ARCH?=riscv64
  2. ifeq ($(ARCH),riscv64)
  3. export CROSS_COMPILE?=riscv64-linux-gnu-
  4. else ifeq ($(ARCH),arm64)
  5. export CROSS_COMPILE?=aarch64-linux-gnu-
  6. else ifeq ($(ARCH),arm)
  7. export CROSS_COMPILE?=arm-linux-gnueabihf-
  8. else ifeq ($(ARCH),x86)
  9. export CROSS_COMPILE?=
  10. else
  11. $(error "Unsupported ARCH: $(ARCH)")
  12. endif
  13. export TARGET_SYSROOT?=output/sysroot