Makefile 673 B

123456789101112131415161718192021222324252627282930313233343536
  1. #
  2. # Copyright (C) 2006 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # $Id$
  8. include $(TOPDIR)/rules.mk
  9. include $(INCLUDE_DIR)/kernel.mk
  10. PKG_NAME:=kernel
  11. PKG_VERSION:=$(LINUX_VERSION)-$(BOARD)
  12. PKG_RELEASE:=$(LINUX_RELEASE)
  13. PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/packages
  14. include $(INCLUDE_DIR)/package.mk
  15. ifeq ($(DUMP),)
  16. -include $(LINUX_DIR)/.config
  17. NF_KMOD:=1
  18. include $(INCLUDE_DIR)/netfilter.mk
  19. endif
  20. define Build/Prepare
  21. mkdir -p $(PKG_BUILD_DIR)
  22. endef
  23. define Build/Configure
  24. endef
  25. define Build/Compile
  26. endef
  27. include $(TOPDIR)/target/linux/*/modules.mk
  28. include ./modules/*.mk