2 # Copyright (C) 2016 Rafał Miłecki <zajec5@gmail.com>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 include $(INCLUDE_DIR
)/package.mk
20 TITLE
:=Utility for handling Seama firmware images
21 MAINTAINER
:=Rafał Miłecki
<zajec5@gmail.com
>
22 DEPENDS
:=@TARGET_bcm53xx
25 define Package
/oseama
/description
26 This package contains an utility that allows handling Seama images.
30 mkdir
-p
$(PKG_BUILD_DIR
)
31 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
37 CFLAGS
="$(TARGET_CFLAGS) -Wall"
40 define Package
/oseama
/install
41 $(INSTALL_DIR
) $(1)/usr
/bin
42 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/oseama
$(1)/usr
/bin
/
45 $(eval
$(call BuildPackage
,oseama
))