Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/target
Date: Tue, 30 Jan 2007 09:38:41 -0800 (PST)	[thread overview]
Message-ID: <20070130173841.A6017485B8@busybox.net> (raw)

Author: aldot
Date: 2007-01-30 09:38:41 -0800 (Tue, 30 Jan 2007)
New Revision: 17675

Log:
- honor the given kernel format and fallback to zImage if none was specified


Modified:
   trunk/buildroot/target/linux26.mk


Changeset:
Modified: trunk/buildroot/target/linux26.mk
===================================================================
--- trunk/buildroot/target/linux26.mk	2007-01-30 17:37:35 UTC (rev 17674)
+++ trunk/buildroot/target/linux26.mk	2007-01-30 17:38:41 UTC (rev 17675)
@@ -22,7 +22,12 @@
 
 #LINUX26_FORMAT=vmlinux
 #LINUX26_BINLOC=$(LINUX26_FORMAT)
-LINUX26_FORMAT=bzImage
+
+# Has to be set by the target/device
+# LINUX26_FORMAT=bzImage
+ifndef LINUX26_FORMAT
+LINUX26_FORMAT=zImage
+endif
 LINUX26_BINLOC=arch/$(KERNEL_ARCH)/boot/$(LINUX26_FORMAT)
 
 # Linux kernel configuration file
@@ -72,6 +77,11 @@
 
 $(LINUX26_DIR)/.configured:  $(LINUX26_DIR)/.patched  $(LINUX26_KCONFIG)
 	-cp $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config
+	$(SED) 's,^CONFIG_EABI.*,# CONFIG_EABI is not set,g' \
+		$(LINUX26_DIR)/.config
+ifeq ($(BR2_ARM_EABI),y)
+	echo "CONFIG_EABI=y" >> $(LINUX26_DIR)/.config
+endif
 	$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) oldconfig
 	touch $(LINUX26_DIR)/.configured
 
@@ -80,7 +90,7 @@
 	touch $(LINUX26_DIR)/.depend_done
 
 $(LINUX26_KERNEL): $(LINUX26_DIR)/.depend_done
-	$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(LINUX26_FORMAT) bzImage
+	$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) $(LINUX26_FORMAT)
 	$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) modules
 	cp -fa $(LINUX26_DIR)/$(LINUX26_BINLOC) $(LINUX26_KERNEL)
 	touch -c $(LINUX26_KERNEL)

             reply	other threads:[~2007-01-30 17:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30 17:38 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-02-04 16:30 [Buildroot] svn commit: trunk/buildroot/target aldot at uclibc.org
2007-03-19 10:49 aldot at uclibc.org
2007-03-22 18:14 aldot at uclibc.org
2007-04-17 17:30 aldot at uclibc.org
2007-06-06 19:59 aldot at uclibc.org
2007-06-26 16:36 aldot at uclibc.org
2007-07-08 19:23 aldot at uclibc.org
2007-07-20 12:03 ulf at uclibc.org
2007-09-23 22:08 ulf at uclibc.org
2007-09-29 19:47 aldot at uclibc.org
2007-09-30 12:42 aldot at uclibc.org
2007-10-05 11:03 aldot at uclibc.org
2008-03-06 19:00 ninevoltz at uclibc.org
2008-03-11  8:49 jacmet at uclibc.org
2008-03-11 19:28 ninevoltz at uclibc.org
2008-04-04  7:24 jacmet at uclibc.org
2008-05-12 12:43 jacmet at uclibc.org
2008-11-04 19:58 jacmet at uclibc.org
2008-12-17  9:28 ulf at uclibc.org
2009-01-01 17:48 nkukard at uclibc.org
2009-01-12 20:58 jacmet at uclibc.org
2009-01-13 15:14 jacmet at uclibc.org
2009-01-30 11:35 jacmet at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070130173841.A6017485B8@busybox.net \
    --to=aldot@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox