[ifxmips] adds proper md5sum to ifxos
[openwrt.git] / package / ifxos / Makefile
1 #
2 # Copyright (C) 2009 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
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=lib_ifxos
13 PKG_VERSION:=1.5.12
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_RELEASE:=1
16 PKG_SOURCE_URL:=http://mirror2.openwrt.org/sources
17 PKG_MD5SUM:=ba775356bdd5e1b73b3e11a152710ed6
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define KernelPackage/ifxos
22 SUBMENU:=Other modules
23 TITLE:=Lantiq OS abstraction library
24 URL:=http://www.lantiq.com/
25 MAINTAINER:=Lantiq
26 DEPENDS:=@TARGET_ifxmips @BROKEN
27 FILES:=$(PKG_BUILD_DIR)/src/drv_ifxos.$(LINUX_KMOD_SUFFIX)
28 AUTOLOAD:=$(call AutoLoad,10,drv_ifxos)
29 endef
30
31 CONFIGURE_ARGS += \
32 ARCH=$(LINUX_KARCH) \
33 --enable-linux-26 \
34 --enable-kernelbuild="$(LINUX_DIR)" \
35 --enable-kernelincl="$(LINUX_DIR)/include" \
36 --enable-add_drv_cflags="-fno-pic -mno-abicalls -mlong-calls -G 0"
37
38 define Build/Configure
39 (cd $(PKG_BUILD_DIR); aclocal && autoconf && automake)
40 $(call Build/Configure/Default)
41 endef
42
43 define Build/InstallDev
44 $(INSTALL_DIR) $(1)/usr/{lib,include/ifxos}
45 $(CP) $(PKG_BUILD_DIR)/src/include/* $(1)/usr/include/ifxos
46 mkdir -p $(1)/usr/lib
47 $(CP) $(PKG_BUILD_DIR)/src/libifxos.a $(1)/usr/lib/libifxos.a
48 endef
49
50 $(eval $(call KernelPackage,ifxos))
This page took 0.041269 seconds and 5 git commands to generate.