Default to using the kernel-headers package. mention dropbear.
authorEric Andersen <andersen@codepoet.org>
Wed, 10 Sep 2003 13:04:12 +0000 (13:04 -0000)
committerEric Andersen <andersen@codepoet.org>
Wed, 10 Sep 2003 13:04:12 +0000 (13:04 -0000)
Make rootfs be rootfs_$(ARCH)

Makefile

index 521debf4ff751955ab4397bd11bea343bbd57201..a9d8030b28de81fe5fbf3fb36e9792e240c9feb6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -88,13 +88,16 @@ endif
 # kernel you have already configured and you want to use that?
 #TARGETS+=linux
 #TARGETS+=user-mode-linux
-TARGETS+=system-linux
+#TARGETS+=system-linux
+TARGETS+=kernel-headers
 
 # The default minimal set
 TARGETS+=busybox tinylogin
 
 # Openssh...
 #TARGETS+=zlib openssl openssh
+# Dropbear sshd is much smaller than openssl + openssh
+#TARGETS+=dropbear_sshd
 
 # Everything needed to build a full uClibc development system!
 #TARGETS+=coreutils findutils bash make diffutils patch sed
@@ -160,7 +163,7 @@ TARGET_CROSS=$(STAGING_DIR)/bin/$(ARCH)-uclibc-
 TARGET_CC=$(TARGET_CROSS)gcc
 STRIP=$(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note
 #STRIP:=/bin/true
-IMAGE:=$(BASE_DIR)/root_fs
+IMAGE:=$(BASE_DIR)/root_fs_$(ARCH)
 GNU_TARGET_NAME=$(OPTIMIZE_FOR_CPU)-linux
 KERNEL_CROSS=$(STAGING_DIR)/bin/$(ARCH)-uclibc-
 HOST_ARCH:=$(shell $(HOSTCC) -dumpmachine | sed -e s'/-.*//' \