add some apparently missing dma cache ops to the korina driver
[openwrt.git] / tools / mkimage / 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:=mkimage
10 PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mkimage
11
12 include $(INCLUDE_DIR)/host-build.mk
13
14 define Build/Compile
15 $(CC) -O -c src/crc32.c -o $(PKG_BUILD_DIR)/crc32.o
16 $(CC) -O -c src/mkimage.c -o $(PKG_BUILD_DIR)/mkimage.o
17 $(CC) -O -o $(PKG_BUILD_DIR)/mkimage $(PKG_BUILD_DIR)/mkimage.o $(PKG_BUILD_DIR)/crc32.o
18 endef
19
20 define Build/Install
21 mkdir -p $(STAGING_DIR)/bin
22 $(CP) $(PKG_BUILD_DIR)/mkimage $(STAGING_DIR)/bin/
23 endef
24
25 define Build/Clean
26 rm -f $(STAGING_DIR)/bin/mkimage
27 endef
28
29 $(eval $(call HostBuild))
This page took 0.03845 seconds and 5 git commands to generate.