mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 05:35:02 -05:00
build: instead of 'ifdef NODEPS' use 'ifneq ($NODEPS,)'
This way we can set NODEPS from within the makefiles, allowing the fontzip to be buildable by itself again Change-Id: Icc4022fef3805b39a97b7bc5d42719ee6522afd1
This commit is contained in:
parent
2d4def6fd9
commit
25f3ba5db4
3 changed files with 7 additions and 5 deletions
|
|
@ -320,10 +320,12 @@ tar: $(BUILDDIR)/rockbox.tar
|
|||
|
||||
fontzip: BUILDZIPOPTS=-f 1
|
||||
fontzip: ZIPFILESUFFIX=-fonts
|
||||
fontzip: NODEPS=1
|
||||
fontzip: zip
|
||||
|
||||
font7zip: BUILDZIPOPTS=-f 1
|
||||
font7zip: ZIPFILESUFFIX=-fonts
|
||||
font7zip: NODEPS=1
|
||||
font7zip: 7zip
|
||||
|
||||
fullzip: BUILDZIPOPTS=-f 2
|
||||
|
|
@ -338,7 +340,7 @@ fulltar: BUILDZIPOPTS=-f 2
|
|||
fulltar: ZIPFILESUFFIX=-full
|
||||
fulltar: tar
|
||||
|
||||
ifdef NODEPS
|
||||
ifneq ($(NODEPS),,)
|
||||
$(BUILDDIR)/rockbox.zip:
|
||||
else
|
||||
$(BUILDDIR)/rockbox.zip: build
|
||||
|
|
@ -352,7 +354,7 @@ mapzip:
|
|||
elfzip:
|
||||
$(SILENT)find . -name "*.elf" | xargs zip rockbox-elfs.zip
|
||||
|
||||
ifdef NODEPS
|
||||
ifneq ($(NODEPS),,)
|
||||
$(BUILDDIR)/rockbox.7z:
|
||||
else
|
||||
$(BUILDDIR)/rockbox.7z: build
|
||||
|
|
@ -360,7 +362,7 @@ endif
|
|||
$(call PRINTS,7Z rockbox$(ZIPFILESUFFIX).7z)
|
||||
$(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) --app=$(APPLICATION) -m \"$(MODELNAME)\" -i \"$(TARGET_ID)\" -o $(BUILDDIR)/rockbox$(ZIPFILESUFFIX).7z -z "7za a -mx=9" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" $(BUILDZIPOPTS) $(TARGET) $(BINARY)
|
||||
|
||||
ifdef NODEPS
|
||||
ifneq ($(NODEPS),,)
|
||||
$(BUILDDIR)/rockbox.tar:
|
||||
else
|
||||
$(BUILDDIR)/rockbox.tar: build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue