aboutsummaryrefslogtreecommitdiff
path: root/target/initramfs
diff options
context:
space:
mode:
authorGravatar "Steven J. Hill" <sjhill@realitydiluted.com>2007-07-18 18:07:19 +0000
committerGravatar "Steven J. Hill" <sjhill@realitydiluted.com>2007-07-18 18:07:19 +0000
commit62b5ae4b66f214fb2f105590bdac14133f0cdc20 (patch)
treee5371fb6c1bc8f7d9736ed05a2af892731bfdf92 /target/initramfs
parent88494a7bbebf55051368175c146dc9ff1e6a34fd (diff)
downloadbuildroot-62b5ae4b66f214fb2f105590bdac14133f0cdc20.tar.gz
buildroot-62b5ae4b66f214fb2f105590bdac14133f0cdc20.tar.bz2
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')
-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 e4ae1480ac..d44f47bf42 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