Re: [OS-BUILD PATCHv2] redhat: Implement Makefile.dist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/24/20 11:52 AM, Don Zickus wrote:
> make mrproper
> mkdir output
> make O=output dist-configs

Here's a simpler case:

make dist-config *works*.

However, make dist-configs-arch fails with

make[2]: *** redhat: No such file or directory.  Stop.
make[1]: *** [/home/prarit/git-kernel/kernel-ark/Makefile.dist:59:
dist-configs-arch] Error 2
make: *** [Makefile.dist:59: dist-configs-arch] Error 2

What is interesting is if I do directly call the Makefile code for the
dist-configs target, then 'make dist-configs-arch' magically *works*.

diff --git a/redhat/Makefile b/redhat/Makefile
index 8c6a3a510768..2d1626920d08 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -154,7 +154,9 @@ dist-configs-prep: dist-clean-configs
        cd $(REDHAT)/configs; TARGET=$(DIST_TARGET) ./build_configs.sh
$(PACKAGE_NAME) $(ARCH_MACH)

 dist-configs-arch: ARCH_MACH = $(MACH)
-dist-configs-arch: dist-configs
+dist-configs-arch: dist-configs-prep
+       @cd $(REDHAT)/configs; VERSION=$(KVERSION) ./generate_all_configs.sh
rhel 1; \
+       ./process_configs.sh $(PROCESS_CONFIGS_OPTS) $(PACKAGE_NAME) $(KVERSION)

 dist-clean-configs:
        cd $(REDHAT)/configs; rm -f kernel-*.config \

I suspect there is some subtlety around setting variables or something that is
causing this problem.

P.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux