[kernel] r10030 - dists/trunk/linux-2.6/debian

Christian T. Steigies cts at alioth.debian.org
Sat Jan 5 21:44:02 UTC 2008


Author: cts
Date: Sat Jan  5 21:44:02 2008
New Revision: 10030

Log:
adjust path for {build,source,modules.*} for m68k only


Modified:
   dists/trunk/linux-2.6/debian/rules.real

Modified: dists/trunk/linux-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-2.6/debian/rules.real	(original)
+++ dists/trunk/linux-2.6/debian/rules.real	Sat Jan  5 21:44:02 2008
@@ -382,8 +382,12 @@
 	$(MAKE_CLEAN) -C $(DIR) modules_install INSTALL_MOD_PATH='$(CURDIR)'/$(PACKAGE_DIR)
 	cp $(DIR)/.config $(PACKAGE_DIR)/boot/config-$(REAL_VERSION)
 	cp $(DIR)/System.map $(PACKAGE_DIR)/boot/System.map-$(REAL_VERSION)
+ifeq ($(KERNEL_ARCH),m68k)
+	rm $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)-m68k/{build,source,modules.*}
+else
 	rm $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/{build,source,modules.*}
 endif
+endif
 	$(MAKE_SELF) \
 	  install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_templates \
 	  PACKAGE_DIR='$(PACKAGE_DIR)' REAL_VERSION='$(REAL_VERSION)'



More information about the Kernel-svn-changes mailing list