kernel-vars.mk 500 B

123456789101112131415
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. KERNEL_MAKE_OPTS:= -C "${LINUX_DIR}" V=1
  4. ifneq ($(ADK_NATIVE),y)
  5. KERNEL_MAKE_OPTS+= CROSS_COMPILE="$(TARGET_CROSS)" ARCH=$(ARCH) \
  6. CC="$(TARGET_CC)" HOSTCC="${HOSTCC}" \
  7. HOSTCFLAGS='${HOSTCFLAGS}'
  8. endif
  9. ifeq (${ADK_TARGET_SYSTEM_LINKSYS_WRT54G},y)
  10. ADK_KCPPFLAGS+= -DBCM47XX_OVERRIDE_FLASHSIZE=0x400000
  11. endif
  12. KERNEL_MAKE_ENV+= KCPPFLAGS='${ADK_KCPPFLAGS}'