From: Jose V Beneyto Date: Wed, 24 Oct 2012 14:21:15 +0000 (+0000) Subject: Added code to override the user@host string displayed during boot and in /proc/versio... X-Git-Url: http://gitweb/?a=commitdiff_plain;h=7608681d5362880e37feeab55830e217be087e8e;p=kernel%2Fomap850.git Added code to override the user@host string displayed during boot and in /proc/version. Also cleanup a bit --- diff --git a/Makefile b/Makefile index 091c8fc..d512534 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ TARGET = arm-crux-linux-gnueabi -TOPDIR = $(shell pwd) +PWD = $(shell pwd) WORK = $(PWD)/work -CROSSTOOLS = $(TOPDIR)/../../toolchain/crosstools +CROSSTOOLS = $(PWD)/../../toolchain/crosstools KERNEL_VERSION = 2.6.25-omap850_20110407 @@ -21,10 +21,11 @@ distclean: clean image-distclean modules-distclean map-distclean $(WORK)/linux-$(KERNEL_VERSION).tar.bz2: wget -P $(WORK) http://crux-arm.nu/files/distfiles/omap850/linux-$(KERNEL_VERSION).tar.bz2 -$(WORK)/linux-$(KERNEL_VERSION): $(TOPDIR)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 $(WORK)/linux-$(KERNEL_VERSION)-make3.82.patch +$(WORK)/linux-$(KERNEL_VERSION): $(PWD)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 $(WORK)/linux-$(KERNEL_VERSION)-make3.82.patch tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 - cp -v $(TOPDIR)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config + cp -v $(PWD)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config patch -p0 -i $(WORK)/linux-$(KERNEL_VERSION)-make3.82.patch + sed -e 's|`whoami`|devel|' -e 's|`hostname .*`|crux-arm.nu|' -i $(WORK)/linux-$(KERNEL_VERSION)/scripts/mkcompile_h touch $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/zImage-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION)