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
11 include $(INCLUDE_DIR
)/host-build.mk
14 $(HOSTCC
) $(HOST_CFLAGS
) -O
-c src
/crc32.c
-o
$(HOST_BUILD_DIR
)/crc32.o
15 $(HOSTCC
) $(HOST_CFLAGS
) -O
-c src
/mkimage.c
-o
$(HOST_BUILD_DIR
)/mkimage.o
16 $(HOSTCC
) $(HOST_CFLAGS
) -O
-o
$(HOST_BUILD_DIR
)/mkimage
$(HOST_BUILD_DIR
)/mkimage.o
$(HOST_BUILD_DIR
)/crc32.o
20 $(CP
) $(HOST_BUILD_DIR
)/mkimage
$(STAGING_DIR_HOST
)/bin
/
24 rm -f
$(STAGING_DIR_HOST
)/bin
/mkimage
27 $(eval
$(call HostBuild
))