diff options
author | Nicolas Thill <nico@openwrt.org> | 2006-09-24 20:49:31 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2006-09-24 20:49:31 +0000 |
commit | ecb6c4b599eab655681dbaa3e755709fa1b819b3 (patch) | |
tree | b7ed2e950b1b35de067464525dccaf95f2876cfd /toolchain/mkimage/Makefile | |
parent | 403a4bfc19147dc962180adb099e5ec9d7ad81c1 (diff) | |
download | upstream-ecb6c4b599eab655681dbaa3e755709fa1b819b3.tar.gz upstream-ecb6c4b599eab655681dbaa3e755709fa1b819b3.tar.bz2 upstream-ecb6c4b599eab655681dbaa3e755709fa1b819b3.zip |
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/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/mkimage/Makefile b/toolchain/mkimage/Makefile index ec27e2716a..71285d2e1a 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 |