Skip to contentSkip to conversation

Apply kernel board patches when do linux26-menuconfig

PATCH New William Wagner 1 participant 1 message Oct 2, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Apply kernel board patches when do linux26-menuconfig

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:

(quoted diff) +0 -0

b/target/linux/Makefile.in.advanced
index b4774ca..4b2c451

target/linux/Makefile.in.advanced +0 -0
@@ -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
Signature · 5 lines
------------------------------------------------------------------------
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
------------------------------------------------------------------------