summaryrefslogtreecommitdiff
path: root/target/x86_64/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-18 20:12:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-18 20:12:49 +0100
commit434f07ef1c5d536e9e94561b5e7a066f1d9cd954 (patch)
treed950fe8c21b18b257ed0771cec1f192ffd3886d6 /target/x86_64/Makefile
parenta1de502070e3fdd18aecd91d0ae8d5611d351d21 (diff)
optimize shuttle and ibmx40 hardware profile
Diffstat (limited to 'target/x86_64/Makefile')
-rw-r--r--target/x86_64/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/x86_64/Makefile b/target/x86_64/Makefile
index 84b02e9c2..b206f5f13 100644
--- a/target/x86_64/Makefile
+++ b/target/x86_64/Makefile
@@ -9,6 +9,12 @@ include $(TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/x86/boot/bzImage
+$(TOOLS_BUILD_DIR):
+ @mkdir -p $(TOOLS_BUILD_DIR)
+
+tools-compile: $(TOOLS_BUILD_DIR)
+ $(MAKE) -C ../tools/grub prepare compile install
+
ifeq ($(FS),archive)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
@cp $(KERNEL) $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
@@ -22,7 +28,7 @@ ifeq ($(ADK_HARDWARE_QEMU_X86_64),y)
endif
endif
ifeq ($(FS),usb)
-imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+imageinstall: tools-compile $(BIN_DIR)/$(ROOTFSTARBALL)
@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
@echo "To install everything to USB use scripts/install.sh"
endif