Makefile 677 B

12345678910111213141516171819202122232425262728293031323334
  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:=e100boot
  11. PKG_VERSION:=0.1
  12. PKG_RELEASE:=1
  13. PKG_SOURCE:=e100boot.tar.bz2
  14. PKG_SOURCE_URL:=http://www.acmesystems.it/download/owrt
  15. PKG_MD5SUM:=
  16. PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
  17. CRLF_WORKAROUND=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Build/Compile
  20. make -C $(PKG_BUILD_DIR) STRIP=true
  21. endef
  22. define Build/InstallDev
  23. $(INSTALL_BIN) $(PKG_BUILD_DIR)/sbl/e100boot $(BIN_DIR)/etrax100boot
  24. endef
  25. $(eval $(call Build/DefaultTargets))