summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2015-07-02 15:07:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-06 21:09:25 +0200
commit203452e81ef83217d1c24b9bc46ff294c2da8c1e (patch)
tree07ac30fc99562976407e6f3eea853736c265ebcb /target/Makefile
parent4b504be0839ad4dedc8d87287bf3526c2fb33ce8 (diff)
do depmod during modules_install (trying to fix linux-git with udev)
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/Makefile b/target/Makefile
index e0fb607b2..a2934682e 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -136,10 +136,10 @@ clean: $(ADK_TARGET_ARCH)-clean $(ADK_TARGET_ARCH)-imageclean
%-imageprepare:
$(TRACE) target/$(patsubst %-imageprepare,%,$@)-imageprepare
ifeq ($(ADK_RUNTIME_DEV_UDEV),y)
+ # This should be made a package instead
$(CP) -a $(BUILD_DIR)/linux-$(ADK_TARGET_ARCH)/modules/lib $(TARGET_DIR)
- rm -f "$(TARGET_DIR)/lib/modules/$(ADK_KERNEL_VERSION)/build" \
- "$(TARGET_DIR)/lib/modules/$(ADK_KERNEL_VERSION)/source"
- $(STAGING_HOST_DIR)/usr/bin/depmod -a -b $(TARGET_DIR) $(ADK_KERNEL_VERSION)
+ rm -f "$(TARGET_DIR)"/lib/modules/*/build \
+ "$(TARGET_DIR)"/lib/modules/*/source
endif
@for x in $$(ls $(ADK_TOPDIR)/scripts/preimage/*.sh 2>/dev/null); do \
[[ -x "$$x" ]] && $$x; \