[adm5120] split support of Cellvision boards
[openwrt.git] / tools / patch-cmdline / Makefile
1 #
2 # Copyright (C) 2007 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:=patch-cmdline
10
11 include $(INCLUDE_DIR)/host-build.mk
12
13 define Build/Compile
14 $(HOSTCC) $(HOST_CFLAGS) -include endian.h -o $(PKG_BUILD_DIR)/$(PKG_NAME) src/$(PKG_NAME).c
15 endef
16
17 define Build/Install
18 $(CP) $(PKG_BUILD_DIR)/patch-cmdline $(STAGING_DIR_HOST)/bin/
19 endef
20
21 define Build/Clean
22 rm -f $(STAGING_DIR_HOST)/bin/patch-cmdline
23 endef
24
25 $(eval $(call HostBuild))
This page took 0.041102 seconds and 5 git commands to generate.