Author: jaeger Date: 2006-03-28 15:48:32 +0200 (Tue, 28 Mar 2006) New Revision: 1046 Modified: crux-2.2/Makefile Log: Added a build symlink to the chroot for building madwifi Modified: crux-2.2/Makefile =================================================================== --- crux-2.2/Makefile 2006-03-28 10:27:54 UTC (rev 1045) +++ crux-2.2/Makefile 2006-03-28 13:48:32 UTC (rev 1046) @@ -113,16 +113,17 @@ cp kernel/$$FILE $(FAKE_ROOT_DIR)/usr/src/linux-$(KERNEL_VERSION); \ cd $(FAKE_ROOT_DIR)/usr/src/linux-$(KERNEL_VERSION) && patch -p1 < $$FILE; \ done - @ln -s linux-$(KERNEL_VERSION) $(FAKE_ROOT_DIR)/usr/src/linux + @ln -s linux-$(KERNEL_VERSION) $(FAKE_ROOT_DIR)/usr/src/linux @cp -f kernel/linux-$(KERNEL_VERSION).config $(FAKE_ROOT_DIR)/usr/src/linux-$(KERNEL_VERSION)/.config @make -C $(FAKE_ROOT_DIR)/usr/src/linux-$(KERNEL_VERSION) oldconfig @make -C $(FAKE_ROOT_DIR)/usr/src/linux-$(KERNEL_VERSION) + @ln -s /usr/src/linux-$(KERNEL_VERSION) $(FAKE_ROOT_DIR)/lib/modules/$(KERNEL_VERSION)/build @cp /etc/resolv.conf $(FAKE_ROOT_DIR)/etc/ @echo "Mounting /dev on $(FAKE_ROOT_DIR)/dev" @mount --bind /dev $(FAKE_ROOT_DIR)/dev @echo "Mounting /proc on $(FAKE_ROOT_DIR)/proc" @mount --bind /proc $(FAKE_ROOT_DIR)/proc - @echo "Mouting $$PWD on $(FAKE_ROOT_DIR)/src" + @echo "Mounting $$PWD on $(FAKE_ROOT_DIR)/src" @mkdir $(FAKE_ROOT_DIR)/src @mount --bind $$PWD $(FAKE_ROOT_DIR)/src @echo "Entering chroot enrivonment"
participants (1)
-
crux@crux.nu