Browse Source

some fixes suggested by mhofmann

- check for m4, which is needed for gmp build
- disable kernel compression choice, when toolchain-only is used
- mentiond that registry change warning can be ignored
Waldemar Brodkorb 14 years ago
parent
commit
26141f2ba4
4 changed files with 11 additions and 2 deletions
  1. 1 0
      README
  2. 1 0
      TODO
  3. 8 1
      scripts/scan-tools.sh
  4. 1 1
      target/Config.in

+ 1 - 0
README

@@ -9,6 +9,7 @@ Before you can start you need to install some tools:
 - gcc 
 - binutils 
 - GNU make
+- GNU m4
 - GNU tar
 - GNU awk
 - GNU sed

+ 1 - 0
TODO

@@ -1,3 +1,4 @@
+- help text for config/ needs adoption
 - fix glibc build for MIPS targets
 - implement update for MTD devices (ag241)
 - fix watchdog for alix1c (mfgpt timers problem)

+ 8 - 1
scripts/scan-tools.sh

@@ -45,7 +45,8 @@ MirBSD)
 CYG*)
 	echo "Building OpenADK on $os needs a small registry change."
 	echo 'http://cygwin.com/cygwin-ug-net/using-specialnames.html'
-	sleep 5
+	echo "You can ignore this message, when you already done the change"
+	sleep 3
 	;;
 NetBSD)
 	# supported with no extra quirks at the moment
@@ -227,6 +228,12 @@ if ! which perl >/dev/null 2>&1; then
 	out=1
 fi
 
+if ! which m4 >/dev/null 2>&1; then
+	echo "You must install m4 (macro processor) to continue."
+	echo
+	out=1
+fi
+
 cd $topdir
 rm -rf tmp
 

+ 1 - 1
target/Config.in

@@ -975,7 +975,7 @@ endchoice
 
 choice
 prompt "Compression method for Kernel"
-	depends on !(ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK)
+	depends on !(ADK_TARGET_ROOTFS_INITRAMFS || ADK_TARGET_ROOTFS_INITRAMFS_PIGGYBACK || ADK_TOOLCHAIN_ONLY)
 	
 config ADK_TARGET_KERNEL_COMPRESSION_GZIP
 	boolean