Add 'linux26-modules' target to allow external drivers to be built with the kernel. Also, remove 'boot' directory before creating INITRAMFS.
This commit is contained in:
parent
a1e6a84bb3
commit
1bb1d9f396
@ -136,7 +136,7 @@ $(TARGET_DIR)/boot/$(LINUX26_FORMAT): $(LINUX26_KERNEL)
|
||||
cp -dpf $(LINUX26_DIR)/$(LINUX26_BINLOC) $(LINUX26_DIR)/System.map $(TARGET_DIR)/boot/
|
||||
touch -c $@
|
||||
|
||||
$(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/modules.dep: $(LINUX26_DIR)/.depend_done
|
||||
linux26-modules $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/modules.dep: $(LINUX26_DIR)/.depend_done
|
||||
rm -rf $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)
|
||||
rm -f $(TARGET_DIR)/sbin/cardmgr
|
||||
$(MAKE) $(LINUX26_MAKE_FLAGS) -C $(LINUX26_DIR) modules
|
||||
@ -144,6 +144,7 @@ $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/modules.dep: $(LINUX26_DIR)/.depend
|
||||
DEPMOD=$(STAGING_DIR)/bin/$(GNU_TARGET_NAME)-depmod26 \
|
||||
INSTALL_MOD_PATH=$(TARGET_DIR) modules_install
|
||||
rm -f $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/build
|
||||
rm -f $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION)/source
|
||||
touch -c $@
|
||||
|
||||
linux26-menuconfig: $(LINUX26_DIR)/.patched host-sed
|
||||
|
Loading…
Reference in New Issue
Block a user