Makefile 396 B

12345678910111213141516
  1. # Makefile for use with Android's kernel/build system
  2. KBUILD_OPTIONS += CAMERA_KERNEL_ROOT=$(shell pwd)
  3. KBUILD_OPTIONS += KERNEL_ROOT=$(ROOT_DIR)/$(KERNEL_DIR)
  4. KBUILD_OPTIONS += MODNAME=camera
  5. all: modules
  6. modules dtbs:
  7. $(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
  8. modules_install:
  9. $(MAKE) M=$(M) -C $(KERNEL_SRC) modules_install
  10. clean:
  11. $(MAKE) -C $(KERNEL_SRC) M=$(M) clean