summaryrefslogtreecommitdiffstats
path: root/target/initramfs/initramfs.mk
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-07-18 18:07:19 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-07-18 18:07:19 +0000
commit62b5ae4b66f214fb2f105590bdac14133f0cdc20 (patch)
treee5371fb6c1bc8f7d9736ed05a2af892731bfdf92 /target/initramfs/initramfs.mk
parent88494a7bbebf55051368175c146dc9ff1e6a34fd (diff)
downloadbuildroot-novena-62b5ae4b66f214fb2f105590bdac14133f0cdc20.tar.gz
buildroot-novena-62b5ae4b66f214fb2f105590bdac14133f0cdc20.zip
Fix INITRAMFS target that was broken. Get rid of config stuff out of the top-level directory. Finally fix Linux kernel module building such that modules are built and installed first followed by rest of packages. This allows for packages to build external Linux kernel modules.
Diffstat (limited to 'target/initramfs/initramfs.mk')
-rw-r--r--target/initramfs/initramfs.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/initramfs/initramfs.mk b/target/initramfs/initramfs.mk
index e4ae1480a..d44f47bf4 100644
--- a/target/initramfs/initramfs.mk
+++ b/target/initramfs/initramfs.mk
@@ -13,6 +13,8 @@ INITRAMFS_TARGET:= #nothing
endif
$(INITRAMFS_TARGET) initramfs: host-fakeroot makedevs
+ rm -f $(TARGET_DIR)/init
+ ln -s sbin/init $(TARGET_DIR)/init
-find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
rm -rf $(TARGET_DIR)/usr/man
rm -rf $(TARGET_DIR)/usr/info