X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..7866607857e35265dd100808e7db0cc8ed8f5fdc:/tools/mkimage/Makefile diff --git a/tools/mkimage/Makefile b/tools/mkimage/Makefile index 71285d2e1..22e8b484d 100644 --- a/tools/mkimage/Makefile +++ b/tools/mkimage/Makefile @@ -5,10 +5,12 @@ # See /LICENSE for more information. # include $(TOPDIR)/rules.mk -include $(INCLUDE_DIR)/host-build.mk +PKG_NAME:=mkimage PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mkimage +include $(INCLUDE_DIR)/host-build.mk + define Build/Compile $(CC) -O -c src/crc32.c -o $(PKG_BUILD_DIR)/crc32.o $(CC) -O -c src/mkimage.c -o $(PKG_BUILD_DIR)/mkimage.o