2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
* autogen.sh: Support addition of external modules via `GRUB_CONTRIB' variable. * Makefile.in: Likewise.
This commit is contained in:
parent
ed96ab6d20
commit
cefabfe1c4
3 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
|
||||
|
||||
* autogen.sh: Support addition of external modules via `GRUB_CONTRIB'
|
||||
variable.
|
||||
* Makefile.in: Likewise.
|
||||
|
||||
2009-10-26 Robert Millan <rmh.grub@aybabtu.com>
|
||||
|
||||
* gendistlist.sh: Simplify .svn check. Skip .bzr as well.
|
||||
|
|
|
@ -148,6 +148,9 @@ $(addprefix $(srcdir)/,$(MKFILES)): %.mk: %.rmk genmk.rb
|
|||
|
||||
include $(srcdir)/conf/$(target_cpu)-$(platform).mk
|
||||
|
||||
# For external modules.
|
||||
-include $(wildcard $(GRUB_CONTRIB)/*/conf/common.mk)
|
||||
|
||||
### General targets.
|
||||
|
||||
CLEANFILES += $(pkglib_DATA) $(pkgdata_DATA)
|
||||
|
|
|
@ -5,8 +5,10 @@ set -e
|
|||
autoconf
|
||||
autoheader
|
||||
echo timestamp > stamp-h.in
|
||||
for rmk in conf/*.rmk; do
|
||||
ruby genmk.rb < $rmk > `echo $rmk | sed 's/\.rmk$/.mk/'`
|
||||
for rmk in conf/*.rmk ${GRUB_CONTRIB}/*/conf/*.rmk; do
|
||||
if test -e $rmk ; then
|
||||
ruby genmk.rb < $rmk > `echo $rmk | sed 's/\.rmk$/.mk/'`
|
||||
fi
|
||||
done
|
||||
./gendistlist.sh > DISTLIST
|
||||
|
||||
|
|
Loading…
Reference in a new issue