mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 07/11] scripts/Makefile: cleanup
Date: Fri, 27 Sep 2013 08:47:38 +0200	[thread overview]
Message-ID: <1380264462-27614-8-git-send-email-s.hauer@pengutronix.de> (raw)
In-Reply-To: <1380264462-27614-1-git-send-email-s.hauer@pengutronix.de>

Sort so that we have the object files on top, sorted by hostprogs-y and
then subdir-y.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 scripts/Makefile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/scripts/Makefile b/scripts/Makefile
index 307dc3d..99a06b0 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -1,31 +1,31 @@
 ###
 # scripts contains sources for various helper programs used throughout
-# the kernel for the build process.
+# barebox for the build process.
 # ---------------------------------------------------------------------------
 # kallsyms:      Find all symbols in barebox
 
-hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
 hostprogs-y                      += bin2c
 hostprogs-y                      += mkimage
 hostprogs-y                      += bareboxenv
+hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
 hostprogs-$(CONFIG_ARCH_MVEBU)   += kwbimage kwboot
 hostprogs-$(CONFIG_ARCH_NETX)    += gen_netx_image
 hostprogs-$(CONFIG_ARCH_OMAP)    += omap_signGP mk-am35xx-spi-image
 hostprogs-$(CONFIG_ARCH_S5PCxx)  += s5p_cksum
 hostprogs-$(CONFIG_ARCH_DAVINCI) += mkublheader
 hostprogs-$(CONFIG_ARCH_ZYNQ)	 += zynq_mkimage
-subdir-$(CONFIG_ARCH_IMX)	 += imx
+
+subdir-y			+= mod
+subdir-$(CONFIG_ARCH_IMX)	+= imx
+subdir-$(CONFIG_X86)		+= setupmbr
+subdir-$(CONFIG_DTC)		+= dtc
+
+targetprogs-y += bareboxenv-target
 
 HOSTLOADLIBES_omap4_usbboot = -lpthread
 omap4_usbboot-objs               := usb_linux.o omap4_usbboot.o
 hostprogs-$(CONFIG_OMAP4_USBBOOT)+= omap4_usbboot
 
-always		:= $(hostprogs-y) $(hostprogs-m)
-
-subdir-y                     += mod
-
-subdir-$(CONFIG_X86)             += setupmbr
-
 # Let clean descend into subdirs
 subdir-	+= basic kconfig setupmbr
 
@@ -37,4 +37,4 @@ obj-$(CONFIG_BAREBOXENV_TARGET)	+= bareboxenv-target
 scripts/bareboxenv-target: scripts/bareboxenv.c FORCE
 	$(call if_changed_dep,csingle)
 
-subdir-$(CONFIG_DTC)         += dtc
+always		:= $(hostprogs-y) $(hostprogs-m)
-- 
1.8.4.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2013-09-27  6:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27  6:47 misc patches Sascha Hauer
2013-09-27  6:47 ` [PATCH 01/11] ARM: pfla02: Fix compiler warning Sascha Hauer
2013-09-27  6:47 ` [PATCH 02/11] detect command: Add missing help text for -a option Sascha Hauer
2013-09-27  6:47 ` [PATCH 03/11] ata: ide-sff: Add missing wait for ready in write function Sascha Hauer
2013-09-27  6:47 ` [PATCH 04/11] move devinfo command to its own file Sascha Hauer
2013-09-27  6:47 ` [PATCH 05/11] usb: Turn some printf into pr_* Sascha Hauer
2013-09-27  6:47 ` [PATCH 06/11] globalvar: Do not modify already existing variables Sascha Hauer
2013-09-27  6:47 ` Sascha Hauer [this message]
2013-09-27  6:47 ` [PATCH 08/11] scripts/Makefile: implement targetprogs-y Sascha Hauer
2013-09-27  6:47 ` [PATCH 09/11] scripts: Move omap4_usbboot to its own directory Sascha Hauer
2013-09-27  6:47 ` [PATCH 10/11] bootm needs uImage support. Select it Sascha Hauer
2013-09-27  6:47 ` [PATCH 11/11] defenv-2: Do not overwrite previously existing global variables Sascha Hauer

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=1380264462-27614-8-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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