2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
8 include $(INCLUDE_DIR
)/host-build.mk
11 PKG_BUILD_DIR
:=$(TOOL_BUILD_DIR
)/mkimage
14 $(CC
) -O
-c src
/crc32.c
-o
$(PKG_BUILD_DIR
)/crc32.o
15 $(CC
) -O
-c src
/mkimage.c
-o
$(PKG_BUILD_DIR
)/mkimage.o
16 $(CC
) -O
-o
$(PKG_BUILD_DIR
)/mkimage
$(PKG_BUILD_DIR
)/mkimage.o
$(PKG_BUILD_DIR
)/crc32.o
20 mkdir
-p
$(STAGING_DIR
)/bin
21 $(CP
) $(PKG_BUILD_DIR
)/mkimage
$(STAGING_DIR
)/bin
/
25 rm -f
$(STAGING_DIR
)/bin
/mkimage
28 $(eval
$(call HostBuild
))
This page took 0.057814 seconds and 5 git commands to generate.