ar71xx: remove useless minimal/ath5k profiles
[openwrt/staging/yousong.git] / package / utils / mkelfimage / Makefile
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
9 PKG_NAME:=mkelfimage
10 PKG_VERSION:=2.7
11
12 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
13 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/m/mkelfimage/
14 PKG_MD5SUM:=e505cb87e9c0cdc44cf03d2c4ea8c74b
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/mkelfimage
19 SECTION:=base
20 CATEGORY:=Base system
21 TITLE:=mkelfimage
22 HIDDEN:=1
23 DEPENDS:=@i386
24 DEFAULT:=y if TARGET_x86
25 endef
26
27 CONFIGURE_VARS += AS="$(TARGET_CROSS)as"
28 MAKE_FLAGS += HOST_CC="$(HOSTCC)" DEFS="-I$(STAGING_DIR_HOST)/include"
29
30 define Build/InstallDev
31 $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
32 $(INSTALL_BIN) $(PKG_BUILD_DIR)/objdir/sbin/mkelfImage $(STAGING_DIR_HOST)/bin
33 endef
34
35 $(eval $(call BuildPackage,mkelfimage))