Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Apply kernel board patches when do linux26-menuconfig
@ 2009-10-02 13:03 William Wagner
  0 siblings, 0 replies; only message in thread
From: William Wagner @ 2009-10-02 13:03 UTC (permalink / raw)
  To: buildroot

currently if you have not yet built/upacked linux and you run 
linux26-menuconfig which unpacks linux and applies patches. However it 
does not apply board (or arch) specific patches as would happen if you 
built linux without opening the menuconfig.

Does that make sense? The patch below fixes it:

diff --git a/target/linux/Makefile.in.advanced 
b/target/linux/Makefile.in.advanced
index b4774ca..4b2c451
--- a/target/linux/Makefile.in.advanced
+++ b/target/linux/Makefile.in.advanced
@@ -399,12 +399,12 @@ $(STAMP_DIR)/linux_modules_target_installed: 
$(LINUX26_DIR)/.depend_done
      fi
      touch $@

-linux26-menuconfig: $(LINUX26_DIR)/.patched host-sed
+linux26-menuconfig: $(LINUX26_DIR)/.patched.board host-sed
      [ -f $(LINUX26_DIR)/.config ] || cp $(LINUX26_KCONFIG) 
$(LINUX26_DIR)/.config
      $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) menuconfig
      -[ -f $(LINUX26_DIR)/.config ] && touch $(LINUX26_DIR)/.configured

-linux26-xconfig: $(LINUX26_DIR)/.patched host-sed
+linux26-xconfig: $(LINUX26_DIR)/.patched.board host-sed
      [ -f $(LINUX26_DIR)/.config ] || cp $(LINUX26_KCONFIG) 
$(LINUX26_DIR)/.config
      $(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) xconfig
      -[ -f $(LINUX26_DIR)/.config ] && touch $(LINUX26_DIR)/.configured

-- 
------------------------------------------------------------------------
Will Wagner                                     will_wagner at carallon.com
Development Manager                      Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-02 13:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-02 13:03 [Buildroot] [PATCH] Apply kernel board patches when do linux26-menuconfig William Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox