summaryrefslogtreecommitdiffstats
path: root/toolchain/mkimage/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-24 20:49:31 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-09-24 20:49:31 +0000
commit8afb23270d23db6a033ba8fb77e1cf1a1d925a7c (patch)
treeb7ed2e950b1b35de067464525dccaf95f2876cfd /toolchain/mkimage/Makefile
parent1d072248383ae47bd68032d69bd86cc060796ef4 (diff)
new (last?) attempt at standardizing Makefiles
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/mkimage/Makefile')
-rw-r--r--toolchain/mkimage/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/mkimage/Makefile b/toolchain/mkimage/Makefile
index ec27e2716..71285d2e1 100644
--- a/toolchain/mkimage/Makefile
+++ b/toolchain/mkimage/Makefile
@@ -7,7 +7,7 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/host-build.mk
-PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/mkimage
+PKG_BUILD_DIR:=$(TOOL_BUILD_DIR)/mkimage
define Build/Compile
$(CC) -O -c src/crc32.c -o $(PKG_BUILD_DIR)/crc32.o
@@ -16,7 +16,8 @@ define Build/Compile
endef
define Build/Install
- $(CP) $(PKG_BUILD_DIR)/mkimage $(STAGING_DIR)/bin
+ mkdir -p $(STAGING_DIR)/bin
+ $(CP) $(PKG_BUILD_DIR)/mkimage $(STAGING_DIR)/bin/
endef
define Build/Clean