summaryrefslogtreecommitdiff
path: root/target/alix2d/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-26 17:10:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-26 17:10:02 +0200
commit7fe6a59dfd76c9b6902b748b2db8d63d70ee8525 (patch)
treef98c8d8f14c8be0c24ccf18f71fa8d0f4acf077d /target/alix2d/Makefile
parent47e110abbf0d3142d737e753833d0d6239965b2a (diff)
finetune kernel configuration, enable initramfs rootfs and enable reset button
alix2d has a reset button, which might be used to startup a rescue system or anything you think about. add a small daemon from ipcop forum to implement this. See: http://www.ipcop-forum.de/forum/viewtopic.php?f=7&t=19183&hilit=alixswitch&start=30 finetune kernel configuration, enable MFGPT timers. Disable unsupported MTRR. Enable watchdog. Enable initramfs and initramfs+piggyback for alix targets.
Diffstat (limited to 'target/alix2d/Makefile')
-rw-r--r--target/alix2d/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/target/alix2d/Makefile b/target/alix2d/Makefile
index cd4964c24..9b051dfac 100644
--- a/target/alix2d/Makefile
+++ b/target/alix2d/Makefile
@@ -10,10 +10,11 @@ include $(TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/arch/x86/boot/bzImage
kernel-install:
- @cp $(KERNEL) $(TARGET_DIR)/boot/vmlinuz-adk
+ @cp $(KERNEL) $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
ifeq ($(FS),ext2-block)
imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
+ @cp $(KERNEL) $(TARGET_DIR)/boot/vmlinuz-adk
@echo
@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
@echo "To install everything to CompactFlash use scripts/install.sh"
@@ -21,9 +22,20 @@ imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
endif
ifeq ($(FS),nfsroot)
imageinstall: $(BIN_DIR)/$(ROOTFSUSERTARBALL)
- @cp $(KERNEL) $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel
@echo
@echo 'The linux kernel is here: $(BIN_DIR)/${ADK_TARGET}-${FS}-kernel'
@echo 'The nfs root tarball is here: ${BIN_DIR}/${ROOTFSUSERTARBALL}'
@echo 'Login as user root with password linux123 via ssh or console'
endif
+ifeq ($(FS),initramfs)
+imageinstall: $(BIN_DIR)/$(INITRAMFS)
+ @echo 'The kernel file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
+ @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}'
+ @echo 'Login as user root with password linux123 via ssh or console'
+endif
+ifeq ($(FS),initramfs-piggyback)
+imageinstall: ${BUILD_DIR}/${INITRAMFS_PIGGYBACK} createinitramfs
+ @cp $(KERNEL) ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel
+ @echo 'The kernel+initramfs file is: ${BIN_DIR}/${ADK_TARGET}-${FS}-kernel'
+ @echo 'Login as user root with password linux123 via ssh or console'
+endif