Makefile 534 B

1234567891011121314151617181920
  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. include $(TOPDIR)/rules.mk
  8. include $(INCLUDE_DIR)/image.mk
  9. define Image/Prepare
  10. $(CP) $(LINUX_DIR)/arch/i386/boot/bzImage $(KDIR)/bzImage
  11. endef
  12. define Image/Build
  13. # FIXME
  14. #touch $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
  15. #$(STAGING_DIR)/bin/airlink -b 0 -j $(KDIR)/bzImage $(KDIR)/root.$(1) $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
  16. endef
  17. $(eval $(call BuildImage))