1 Fix cross-compilation issues
3 - During target package compilation the host version of b_sortnl is
6 - Do not call a 'amiroot' program built for the target when
7 cross-compiling. We're anyway not root, so simply remove the
10 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
11 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
14 ===================================================================
19 configparam_data.c: $(srcdir)/config.table b_sortnl$(EXEEXT) genconfigparam_data.awk
20 rm -f config.table.sorted
21 - ./b_sortnl$(EXEEXT) <$(srcdir)/config.table >config.table.sorted
22 + ./b_sortnl_host$(EXEEXT) <$(srcdir)/config.table >config.table.sorted
23 $(AWK) -f $(srcdir)/genconfigparam_data.awk <config.table.sorted >$@ \
24 || { rm -f $@ ; false ; }
26 @@ -1868,13 +1868,7 @@
28 $(INSTALL) -d -m 02770 $(DESTDIR)$(SPOOLDIR)
29 $(INSTALL) -d -m 02770 $(DESTDIR)$(SPOOLDIR)/leaf.node
30 - -./amiroot && chown $(RUNAS_USER) $(DESTDIR)$(SPOOLDIR)
31 - -./amiroot && chown $(RUNAS_USER) $(DESTDIR)$(SPOOLDIR)/leaf.node
32 - -./amiroot && chgrp $(RUNAS_GROUP) $(DESTDIR)$(SPOOLDIR)
33 - -./amiroot && chgrp $(RUNAS_GROUP) $(DESTDIR)$(SPOOLDIR)/leaf.node
34 rm -f $(DESTDIR)$(sbindir)/leafnode-version # now in $(bindir)
35 - ./amiroot && p=$(DESTDIR)$(bindir)/newsq && chown 0 $$p \
36 - && chgrp $(RUNAS_GROUP) $$p && chmod 2111 $$p ; true
38 @echo "### If upgrading from leafnode before 1.6,"
39 @echo "### run: make update"