CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported manually code to override the user@host string displayed during boot and...
authorJose V Beneyto <sepen@crux.nu>
Mon, 15 Oct 2012 18:42:36 +0000 (18:42 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 17 Oct 2012 17:45:16 +0000 (17:45 +0000)
Makefile

index 7ba9ee643bcec73a260a9e4b19aa36c04a15c41d..18539ac4d15ab0f93b814df4bdc52e6b1b8ee1fb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@ $(WORK)/linux-$(KERNEL_VERSION).tar.bz2:
 
 $(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 $(PWD)/config-$(KERNEL_VERSION)
        tar -C $(WORK) -xvjf $(WORK)/linux-$(KERNEL_VERSION).tar.bz2
+       cd $(WORK) && \
+               sed -e 's|`whoami`|devel|' -e 's|`hostname .*`|crux-arm.nu|' -i linux-$(KERNEL_VERSION)/scripts/mkcompile_h
        cp -v $(PWD)/config-$(KERNEL_VERSION) $(WORK)/linux-$(KERNEL_VERSION)/.config
        touch $(WORK)/linux-$(KERNEL_VERSION)