Skip to content

Commit

Permalink
Makefile: OpenWRT-config should be updated after all is patched
Browse files Browse the repository at this point in the history
- update OpenWRT
- update and install feeds
- patch all
- then run OpenWRT defconfig

this will prevent a patch which changes a feed-config-parameter
to fail to apply
  • Loading branch information
SvenRoederer committed Jun 12, 2016
1 parent aca2be0 commit cb51993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ else
endif

# openwrt config
$(OPENWRT_DIR)/.config: .stamp-feeds-updated $(TARGET_CONFIG) .stamp-build_rev
$(OPENWRT_DIR)/.config: .stamp-patched $(TARGET_CONFIG) .stamp-build_rev
cat $(TARGET_CONFIG) >$(OPENWRT_DIR)/.config
sed -i "/^CONFIG_VERSION_NUMBER=/ s/\"$$/\+$(FW_REVISION)\"/" $(OPENWRT_DIR)/.config
$(UMASK); \
Expand Down

0 comments on commit cb51993

Please sign in to comment.