Makefile 450 B

12345678910111213141516
  1. #By default build for CLD
  2. RMNET_APS_SELECT := CONFIG_RMNET_APS=m
  3. KBUILD_OPTIONS += $(RMNET_APS_SELECT)
  4. KBUILD_OPTIONS += $(KBUILD_EXTRA) # Extra config if any
  5. KBUILD_EXTRA_SYMBOLS := $(M)/../../$(DATARMNET_CORE_PATH)/Module.symvers
  6. M ?= $(shell pwd)
  7. all:
  8. $(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
  9. modules_install:
  10. $(MAKE) INSTALL_MOD_STRIP=1 -C $(KERNEL_SRC) M=$(M) modules_install
  11. clean:
  12. $(MAKE) -C $(KERNEL_SRC) M=$(M) clean