openwrt/package/firmware/am33x-cm3/Makefile
Hauke Mehrtens 3f38356893 packages: prefer http over git for git protocol
In company networks everything except the http and https protocol is
often causes problems, because the network administrators try to block
everything else. To make it easier to use LEDE in company networks use
the https/http protocol for git access when possible.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-06-22 19:32:06 +02:00

45 lines
1.1 KiB
Makefile

#
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=am33x-cm3
PKG_VERSION:=20130304
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_URL:=http://arago-project.org/git/projects/am33x-cm3.git
PKG_SOURCE_VERSION:=32cf44e25b5828b87af6dceebc3a49fed5d858ac
PKG_MD5SUM:=40a6b7edae5e5cfff99bebde2bf20b97
PKG_MAINTAINER:=Imre Kaloz <kaloz@openwrt.org>
PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/package.mk
define Package/am33x-cm3
SECTION:=firmware
CATEGORY:=Firmware
URL:=http://arago-project.org/git/projects/?p=am33x-cm3.git
TITLE:=TI AM335x PM firmware
DEPENDS:=@TARGET_omap
endef
define Build/Compile
$(MAKE) CROSS_COMPILE=$(TARGET_CROSS) -C $(PKG_BUILD_DIR)
endef
define Package/am33x-cm3/install
$(INSTALL_DIR) $(1)/lib/firmware
$(CP) $(PKG_BUILD_DIR)/bin/am335x-pm-firmware.bin $(1)/lib/firmware
endef
$(eval $(call BuildPackage,am33x-cm3))